am 740e46b5: am d1f73b01: am 577184aa: Merge "Test __GLIBC__ is defined before using its value."

* commit '740e46b549e170bec96c1a7103ccf51bd84ab908':
  Test __GLIBC__ is defined before using its value.
This commit is contained in:
Ian Rogers 2014-09-26 16:01:58 +00:00 committed by Android Git Automerger
commit 5c00e9cf5c
1 changed files with 1 additions and 1 deletions

View File

@ -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