about summary refs log tree commit diff
path: root/features.h
diff options
context:
space:
mode:
Diffstat (limited to 'features.h')
-rw-r--r--features.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/features.h b/features.h
index abf20250b6..deacda1663 100644
--- a/features.h
+++ b/features.h
@@ -144,8 +144,19 @@ Cambridge, MA 02139, USA.  */
 #endif
 
 
-/* Include header with information of libc version numbers.  */
-#include <libc-version.h>
+/* This macro indicates that the installed library is the GNU C Library.
+   For historic reasons the value now is 6 and this will stay from now
+   on.  The use of this variable is deprecated.  Use __GLIBC__ and
+   __GLIBC_MINOR__ now (see below) when you want to test for a specific
+   GNU C library version and use the values in <gnu/lib-names.h> to get
+   the sonames of the shared libraries.  */
+#undef  __GNU_LIBRARY__
+#define __GNU_LIBRARY__ 6
+
+/* Major and minor version number of the GNU C library package.  Use
+   these macros to test for features in specific releases.  */
+#define	__GLIBC__	2
+#define	__GLIBC_MINOR__	0
 
 
 #if	!defined (__GNUC__) || __GNUC__ < 2