summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2009-10-17 04:16:12 +0200
committerAustin Foxley <austinf@cetoncorp.com>2009-11-22 11:27:56 -0800
commit84af64f0e36534d019b5725d192908e70bc6fd30 (patch)
treeaeb488838f532ef241bac002bd834eeb07348d39
parent26db825faf1e4979db3d3744c0f364bd368e4cfb (diff)
downloaduClibc-alpine-84af64f0e36534d019b5725d192908e70bc6fd30.tar.bz2
uClibc-alpine-84af64f0e36534d019b5725d192908e70bc6fd30.tar.xz
help broken apps to detect __GLIBC__ headers
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
-rw-r--r--include/features.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/features.h b/include/features.h
index 5ee2b333a..2ecf1987a 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) \