Browse Source

dont redefine _GNU_SOURCE

Mike Frysinger 18 năm trước cách đây
mục cha
commit
5492a3be8f
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      test/signal/signal.c

+ 3 - 1
test/signal/signal.c

@@ -23,7 +23,9 @@
  */
 
 
-#define _GNU_SOURCE
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE
+#endif
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>