Browse Source

Make sure we have __linux__ defined

Eric Andersen 22 năm trước cách đây
mục cha
commit
25288a6fcc
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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 */
 #endif /* _LIBC only stuff */
 
 
+#ifndef __linux__
+# define __linux__ 1
+#endif
 
 
 #endif	/* features.h  */
 #endif	/* features.h  */