Browse Source

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>
Peter S. Mazinger 14 years ago
parent
commit
ed4533ecdc
2 changed files with 8 additions and 8 deletions
  1. 0 8
      include/features.h
  2. 8 0
      include/libc-internal.h

+ 0 - 8
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  */

+ 8 - 0
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 */