summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a9c40cd5c..eaed741e5 100644
--- a/Makefile
+++ b/Makefile
@@ -147,6 +147,8 @@ uClibc_config.h: Config
@echo "#if !defined __FEATURES_H && !defined __need_uClibc_config_h" >> uClibc_config.h
@echo "#error Never include <bits/uClibc_config.h> directly; use <features.h> instead." >> uClibc_config.h
@echo "#endif" >> uClibc_config.h
+ @echo "#define linux 1" >> uClibc_config.h
+ @echo "#define __linux_ 1" >> uClibc_config.h
@if [ "$(HAS_MMU)" = "true" ] ; then \
echo "#define __UCLIBC_HAS_MMU__ 1" >> uClibc_config.h ; \
else \