From 83798a618a1c4da8ec5594bb449e0eb879ea3dcf Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Mon, 19 Mar 2012 12:02:10 -0700 Subject: [PATCH] Fix build break on glibc, for real. Change-Id: I8bbec237229b05f96c708d41f3c4da17e2a90e2b --- StringPool.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/StringPool.h b/StringPool.h index d501008..64acfd8 100644 --- a/StringPool.h +++ b/StringPool.h @@ -139,7 +139,11 @@ public: const Vector* offsetsForString(const String16& val) const; private: +#ifdef __GLIBC__ + static int config_sort(const void* lhs, const void* rhs, void* state); +#else static int config_sort(void* state, const void* lhs, const void* rhs); +#endif const bool mUTF8; -- 2.47.2