소스 검색

Make sure we have __linux__ defined

Eric Andersen 23 년 전
부모
커밋
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  */