summaryrefslogtreecommitdiff
path: root/include/features.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/features.h')
-rw-r--r--include/features.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/features.h b/include/features.h
index 3d61b76d9..db3e9a7af 100644
--- a/include/features.h
+++ b/include/features.h
@@ -263,7 +263,7 @@
* their developers intended. This is IMHO, pardonable, since these defines
* are not really intended to check for the presence of a particular library,
* but rather are used to define an _interface_. */
-#if !defined _LIBC || defined __FORCE_GLIBC__
+#if !defined __FORCE_NOGLIBC && (!defined _LIBC || defined __FORCE_GLIBC)
# define __GNU_LIBRARY__ 6
# define __GLIBC__ 2
# define __GLIBC_MINOR__ 2