From ed54532f29e90bd3e9dd7322d9ed1de8877d9498 Mon Sep 17 00:00:00 2001 From: hexcoder- Date: Fri, 23 Sep 2022 23:19:10 +0200 Subject: make gcc_plugin compilable for gcc 3.6.0 --- instrumentation/afl-gcc-pass.so.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'instrumentation/afl-gcc-pass.so.cc') diff --git a/instrumentation/afl-gcc-pass.so.cc b/instrumentation/afl-gcc-pass.so.cc index 052b3159..2b251075 100644 --- a/instrumentation/afl-gcc-pass.so.cc +++ b/instrumentation/afl-gcc-pass.so.cc @@ -125,7 +125,10 @@ */ #include "afl-gcc-common.h" +#if (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= \ + 60200 /* >= version 6.2.0 */ #include "memmodel.h" +#endif /* This plugin, being under the same license as GCC, satisfies the "GPL-compatible Software" definition in the GCC RUNTIME LIBRARY -- cgit 1.4.1