浏览代码

Make sure we have __linux__ defined

Eric Andersen 22 年之前
父节点
当前提交
25288a6fcc
共有 1 个文件被更改,包括 3 次插入0 次删除
  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  */