]> git.saurik.com Git - android/aapt.git/commitdiff
Fix build break on glibc, for real.
authorJeff Brown <jeffbrown@google.com>
Mon, 19 Mar 2012 19:02:10 +0000 (12:02 -0700)
committerJeff Brown <jeffbrown@google.com>
Mon, 19 Mar 2012 19:02:10 +0000 (12:02 -0700)
Change-Id: I8bbec237229b05f96c708d41f3c4da17e2a90e2b

StringPool.h

index d5010086b2928a55adad08884c6d98ddbdd29e48..64acfd8131629fba2bcfeda9f0c9b19ee070f2a2 100644 (file)
@@ -139,7 +139,11 @@ public:
     const Vector<size_t>* 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;