summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2009-10-17 02:19:35 +0200
committerAustin Foxley <austinf@cetoncorp.com>2009-11-22 11:22:50 -0800
commit253ef908d2318eede6d45bb80d0fb2c2cbd32362 (patch)
tree0600733a57ba9af16a994bd05c1863fa913e7a6a
parent4fb2e2c314c475a59024acbc94a5f8dd3086390a (diff)
downloaduClibc-alpine-253ef908d2318eede6d45bb80d0fb2c2cbd32362.tar.bz2
uClibc-alpine-253ef908d2318eede6d45bb80d0fb2c2cbd32362.tar.xz
move __linux__ to libc-internal.h
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.h8
-rw-r--r--include/libc-internal.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/include/features.h b/include/features.h
index 8a39cc8e0..9602ecc0d 100644
--- a/include/features.h
+++ b/include/features.h
@@ -448,12 +448,4 @@ uClibc was built without large file support enabled.
# include <libc-internal.h>
#endif
-/* Some people like to build up uClibc with *-elf toolchains, so
- * a little grease here until we drop '#ifdef __linux__' checks
- * from our source code.
- */
-#ifndef __linux__
-# define __linux__ 1
-#endif
-
#endif /* features.h */
diff --git a/include/libc-internal.h b/include/libc-internal.h
index 8809bc042..443b1fc50 100644
--- a/include/libc-internal.h
+++ b/include/libc-internal.h
@@ -69,4 +69,12 @@ extern const char *__uclibc_progname attribute_hidden;
#endif /* __ASSEMBLER__ */
+/* Some people like to build up uClibc with *-elf toolchains, so
+ * a little grease here until we drop '#ifdef __linux__' checks
+ * from our source code.
+ */
+#ifndef __linux__
+# define __linux__ 1
+#endif
+
#endif /* _LIBC_INTERNAL_H */