summaryrefslogtreecommitdiff
path: root/test/signal/signal.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-11 23:47:51 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-11 23:47:51 +0000
commit5492a3be8f2ac9ba01efa9a4000b9820c34e357c (patch)
tree5577b90c475e0c238044dd6db45c63f239f09d55 /test/signal/signal.c
parent4af711dfe8caf18756c2cb28f72b102c5eba3930 (diff)
dont redefine _GNU_SOURCE
Diffstat (limited to 'test/signal/signal.c')
-rw-r--r--test/signal/signal.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/signal/signal.c b/test/signal/signal.c
index 3b282e870..500eefbe3 100644
--- a/test/signal/signal.c
+++ b/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>