Browse Source

Make sure we have __linux__ defined

Eric Andersen 22 years ago
parent
commit
25288a6fcc
1 changed files with 3 additions and 0 deletions
  1. 3 0
      include/features.h

+ 3 - 0
include/features.h

@@ -430,5 +430,8 @@ uClibc was built without large file support enabled.
 
 #endif /* _LIBC only stuff */
 
+#ifndef __linux__
+# define __linux__ 1
+#endif
 
 #endif	/* features.h  */