about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrea Fioraldi <andreafioraldi@gmail.com>2019-08-30 12:02:19 +0200
committerAndrea Fioraldi <andreafioraldi@gmail.com>2019-08-30 12:02:19 +0200
commitca6ac09dcc1452bdab8b704cef736fed4a2f1156 (patch)
treec736c900896679c8089ea1121a41abc4bf53e4e4
parentaca63d4986540ca6c51cc90321f54509aee2ce45 (diff)
downloadafl++-ca6ac09dcc1452bdab8b704cef736fed4a2f1156.tar.gz
format like AFL style
-rw-r--r--src/afl-gotcpu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/afl-gotcpu.c b/src/afl-gotcpu.c
index 4163ad65..9db86933 100644
--- a/src/afl-gotcpu.c
+++ b/src/afl-gotcpu.c
@@ -26,7 +26,9 @@
  */
 
 #define AFL_MAIN
-#define _GNU_SOURCE
+#ifndef _GNU_SOURCE
+#  define _GNU_SOURCE
+#endif
 
 #include <stdio.h>
 #include <stdlib.h>