Skip to content

Commit 80a6b33

Browse files
author
Jeff Brown
committed
Fix build break on glibc, for real.
Change-Id: I8bbec237229b05f96c708d41f3c4da17e2a90e2b
1 parent cc67069 commit 80a6b33

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/aapt/StringPool.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,11 @@ class StringPool
139139
const Vector<size_t>* offsetsForString(const String16& val) const;
140140

141141
private:
142+
#ifdef __GLIBC__
143+
static int config_sort(const void* lhs, const void* rhs, void* state);
144+
#else
142145
static int config_sort(void* state, const void* lhs, const void* rhs);
146+
#endif
143147

144148
const bool mUTF8;
145149

0 commit comments

Comments
 (0)