about summary refs log tree commit diff
path: root/src/afl-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afl-common.c')
-rw-r--r--src/afl-common.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/afl-common.c b/src/afl-common.c
index b232b445..7f482e7d 100644
--- a/src/afl-common.c
+++ b/src/afl-common.c
@@ -25,8 +25,12 @@
 
 #include <stdlib.h>
 #include <stdio.h>
-#define _GNU_SOURCE
-#define __USE_GNU
+#ifndef _GNU_SOURCE
+  #define _GNU_SOURCE
+#endif
+#ifndef __USE_GNU
+  #define __USE_GNU
+#endif
 #include <string.h>
 #include <strings.h>
 #include <math.h>
@@ -718,7 +722,7 @@ char *get_afl_env(char *env) {
   if ((val = getenv(env))) {
 
     if (*val) {
-      
+
       if (!be_quiet) {
 
         OKF("Enabled environment variable %s with value %s", env, val);