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:
Ian Rogers 2014-09-26 15:48:25 +00:00 committed by Android Git Automerger
commit d1f73b018d
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