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

* commit 'd1f73b018d3815eec54a6614a57ff3e25bbaf64a':
  Test __GLIBC__ is defined before using its value.
This commit is contained in:
Ian Rogers 2014-09-26 15:53:57 +00:00 committed by Android Git Automerger
commit ed51a9d21e
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