mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-19 04:58:08 +00:00
make gcc_plugin compilable for gcc 3.6.0
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user