Jelajahi Sumber

Make sure we have __linux__ defined

Eric Andersen 23 tahun lalu
induk
melakukan
25288a6fcc
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  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  */