[git commit nptl_merge] help broken apps to detect __GLIBC__ headers
Peter S. Mazinger
ps.m at gmx.net
Sun Nov 22 08:37:56 UTC 2009
commit: http://git.uclibc.org/uClibc/commit/?id=2d9bad0c0a0309899b7fa603d4b4f9b2932165a0
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl_merge
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
include/features.h | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/include/features.h b/include/features.h
index 5ee2b33..2ecf198 100644
--- a/include/features.h
+++ b/include/features.h
@@ -361,14 +361,16 @@
/* 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. */
-# undef __GNU_LIBRARY__
-# define __GNU_LIBRARY__ 6
+/* uClibc WARNING: leave these aligned to the left, don't put a space after '#', else
+ * broken apps could fail the check. */
+#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. */
/* Don't do it, if you want to keep uClibc happy. */
-# define __GLIBC__ 2
-# define __GLIBC_MINOR__ 2
+#define __GLIBC__ 2
+#define __GLIBC_MINOR__ 2
#endif
#define __GLIBC_PREREQ(maj, min) \
--
1.6.3.3
More information about the uClibc-cvs
mailing list