summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-11-21 14:56:43 +0000
committerEric Andersen <andersen@codepoet.org>2001-11-21 14:56:43 +0000
commitee185898f61c50ad0b174b45a58c38054571a0b3 (patch)
treec0b0de7a9c86c0805e492a2af62672a2750b7147 /include
parente625699c3b1a636fa86ed19f96a70e11a23cd020 (diff)
Adjust naming for __FORCE_GLIBC__ to __FORCE_GLIBC and add
support for __FORCE_NOGLIBC per Brian Stafford <brian.stafford@office-logic.com>
Diffstat (limited to 'include')
-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