[git commit nptl_merge] move __linux__ to libc-internal.h

Peter S. Mazinger ps.m at gmx.net
Sun Nov 22 08:37:56 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=ed4533ecdc7c39e8c6e7f1f3d4a0c00a8c1845a5
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      |    8 --------
 include/libc-internal.h |    8 ++++++++
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/include/features.h b/include/features.h
index 8a39cc8..9602ecc 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 8809bc0..443b1fc 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 */
-- 
1.6.3.3



More information about the uClibc-cvs mailing list