ソースを参照

Define __USE_GNU as glibc does.

Manuel Novoa III 25 年 前
コミット
0ae3814223
1 ファイル変更3 行追加0 行削除
  1. 3 0
      include/features.h

+ 3 - 0
include/features.h

@@ -80,6 +80,9 @@
 # define __KERNEL_STRICT_NAMES
 # define __KERNEL_STRICT_NAMES
 #endif
 #endif
 
 
+#ifdef  _GNU_SOURCE
+# define __USE_GNU      1
+#endif
 
 
 #include <sys/cdefs.h>
 #include <sys/cdefs.h>