diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-02-05 03:06:57 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-02-05 03:06:57 +0000 |
commit | 60ecd672487e4039efe8a13df1b0b3404992a809 (patch) | |
tree | 4bc094df9d36f4172a917830f2e479cdfed07114 /include/features.h | |
parent | 3540d0675cce2068ec0c26a46660972a9859c368 (diff) |
Make the __GLIBC__ define be conditional. Stub out gnu-versions.h
-Erik
Diffstat (limited to 'include/features.h')
-rw-r--r-- | include/features.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/features.h b/include/features.h index 6f920d8ad..f5b8cf74e 100644 --- a/include/features.h +++ b/include/features.h @@ -15,9 +15,11 @@ * 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_. */ -#define __GNU_LIBRARY__ 6 -#define __GLIBC__ 2 -#define __GLIBC_MINOR__ 1 +#if !defined __LIBC__ || defined __FORCE_GLIBC__ +# define __GNU_LIBRARY__ 6 +# define __GLIBC__ 2 +# define __GLIBC_MINOR__ 1 +#endif /* Make a half-hearted attempt to accomodate non-gcc compilers */ #ifndef __GNUC__ |