diff options
author | van Hauser <vh@thc.org> | 2022-09-28 22:56:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 22:56:28 +0200 |
commit | 7e0171006a32bf6b510e08df76ca6d8555272140 (patch) | |
tree | e163306b4bdf270c2c787d23007fb61921bb9c40 /instrumentation/afl-gcc-common.h | |
parent | ad4b7274766418d2006177edebf0d242b49c5fef (diff) | |
parent | 96b774261172a2259ab98cc529eba3d7212375cb (diff) | |
download | afl++-7e0171006a32bf6b510e08df76ca6d8555272140.tar.gz |
Merge pull request #1537 from AFLplusplus/dev
push to stable
Diffstat (limited to 'instrumentation/afl-gcc-common.h')
-rw-r--r-- | instrumentation/afl-gcc-common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/instrumentation/afl-gcc-common.h b/instrumentation/afl-gcc-common.h index 2b71bd22..766c0eff 100644 --- a/instrumentation/afl-gcc-common.h +++ b/instrumentation/afl-gcc-common.h @@ -498,3 +498,10 @@ struct afl_base_pass : gimple_opt_pass { } // namespace +// compatibility for older gcc versions +#if (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= \ + 60200 /* >= version 6.2.0 */ +#define gimple gimple * +#else +#define gimple gimple +#endif |