diff options
author | Yann Collet <cyan@fb.com> | 2019-04-05 18:55:34 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2019-04-05 18:55:34 (GMT) |
commit | 2a94faf462c53feb864c4ae4e857c4870a948da0 (patch) | |
tree | 9cda648319bb44266e1ab90818b8711046ae8856 | |
parent | a4f1635b0a29580628c22fbccfd68bda122453bb (diff) | |
download | lz4-2a94faf462c53feb864c4ae4e857c4870a948da0.zip lz4-2a94faf462c53feb864c4ae4e857c4870a948da0.tar.gz lz4-2a94faf462c53feb864c4ae4e857c4870a948da0.tar.bz2 |
fixed _GNU_SOURCE duplicate
-rw-r--r-- | tests/fuzzer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/fuzzer.c b/tests/fuzzer.c index 4cc80fa..1efe322 100644 --- a/tests/fuzzer.c +++ b/tests/fuzzer.c @@ -37,6 +37,7 @@ * Dependencies **************************************/ #if defined(__unix__) && !defined(_AIX) /* must be included before platform.h for MAP_ANONYMOUS */ +# undef _GNU_SOURCE /* in case it's already defined */ # define _GNU_SOURCE /* MAP_ANONYMOUS even in -std=c99 mode */ # include <sys/mman.h> /* mmap */ #endif |