summaryrefslogtreecommitdiff
path: root/tools/aapt/StringPool.h
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-03-19 12:02:10 -0700
committerJeff Brown <jeffbrown@google.com>2012-03-19 12:02:10 -0700
commit80a6b33be276eb6c808fce13debb4bb7a489cdad (patch)
tree87a9f32d2f21c9381cc51f9ce1d9fa84a255d5f2 /tools/aapt/StringPool.h
parentcc67069aa7ea6d6b3a573b5917f43246d228290d (diff)
Fix build break on glibc, for real.
Change-Id: I8bbec237229b05f96c708d41f3c4da17e2a90e2b
Diffstat (limited to 'tools/aapt/StringPool.h')
-rw-r--r--tools/aapt/StringPool.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/aapt/StringPool.h b/tools/aapt/StringPool.h
index d5010086b292..64acfd813162 100644
--- a/tools/aapt/StringPool.h
+++ b/tools/aapt/StringPool.h
@@ -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;