qsort_t was only defined in glibc 2.8

Change-Id: I646bac8ed4d94bf75a33b886e700c91c3837bc32
This commit is contained in:
Jeff Brown 2012-03-19 15:39:08 -07:00
parent 4a6b384f60
commit 5e0621f78a
1 changed files with 4 additions and 0 deletions

View File

@ -341,6 +341,10 @@
/*
* Define to 1 if <stdlib.h> provides qsort_r() with a GNU style function prototype.
*/
#if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 8)
#define HAVE_GNU_QSORT_R 1
#else
#define HAVE_GNU_QSORT_R 0
#endif
#endif /*_ANDROID_CONFIG_H*/