FreeBSD defines __GNU_SOURCE so this is not reliable marker that the
OS is using a glibc-style qsort_r(3).
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
#define _SORT_R_INLINE inline
-#if (defined _GNU_SOURCE || defined __gnu_hurd__ || defined __GNU__ || \
+#if (defined __gnu_hurd__ || defined __GNU__ || \
defined __linux__ || defined __MINGW32__ || defined __GLIBC__)
# define _SORT_R_LINUX
#elif (defined __APPLE__ || defined __MACH__ || defined __DARWIN__ || \