From 60ecd672487e4039efe8a13df1b0b3404992a809 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 5 Feb 2001 03:06:57 +0000 Subject: Make the __GLIBC__ define be conditional. Stub out gnu-versions.h -Erik --- include/features.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/features.h') 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__ -- cgit v1.2.3