diff options
author | David Carlier <devnexen@gmail.com> | 2020-06-14 15:26:43 +0000 |
---|---|---|
committer | David Carlier <devnexen@gmail.com> | 2020-06-14 15:32:02 +0000 |
commit | 67d87dd2a9dbc393b56162e77ff3178f4e3f59fa (patch) | |
tree | 24a839cd715e1bc204edeff4ee886f04d7fca267 /gcc_plugin/afl-gcc-fast.c | |
parent | bfe5b88e782ffd3f97c2a25da60b0b36552a6a64 (diff) | |
download | afl++-67d87dd2a9dbc393b56162e77ff3178f4e3f59fa.tar.gz |
Porting to Haiku.
getrusage does not implement resident memory gathering, no shm api neither.
Diffstat (limited to 'gcc_plugin/afl-gcc-fast.c')
-rw-r--r-- | gcc_plugin/afl-gcc-fast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc_plugin/afl-gcc-fast.c b/gcc_plugin/afl-gcc-fast.c index 164c72c2..bd780b40 100644 --- a/gcc_plugin/afl-gcc-fast.c +++ b/gcc_plugin/afl-gcc-fast.c @@ -231,7 +231,7 @@ static void edit_params(u32 argc, char **argv) { } -#ifdef USEMMAP +#if defined(USEMMAP) && !defined(__HAIKU__) cc_params[cc_par_cnt++] = "-lrt"; #endif |