OSDN Git Service

move __linux__ to libc-internal.h
authorPeter S. Mazinger <ps.m@gmx.net>
Sat, 17 Oct 2009 00:19:35 +0000 (02:19 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 19 Nov 2009 21:46:04 +0000 (22:46 +0100)
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
include/features.h
include/libc-internal.h

index 8a39cc8..9602ecc 100644 (file)
@@ -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  */
index 8809bc0..443b1fc 100644 (file)
@@ -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 */