forked from openkylin/platform_build
am 577184aa: Merge "Test __GLIBC__ is defined before using its value."
* commit '577184aa86eefc4b7b177eeafcd8209028d86b2d': Test __GLIBC__ is defined before using its value.
This commit is contained in:
commit
d1f73b018d
|
@ -256,7 +256,7 @@
|
|||
/*
|
||||
* Define to 1 if <stdlib.h> provides qsort_r() with a GNU style function prototype.
|
||||
*/
|
||||
#if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 8)
|
||||
#if defined(__GLIBC__) && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 8))
|
||||
#define HAVE_GNU_QSORT_R 1
|
||||
#else
|
||||
#define HAVE_GNU_QSORT_R 0
|
||||
|
|
Loading…
Reference in New Issue