about summary refs log tree commit diff
path: root/llvm_mode/afl-clang-fast.c
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2020-06-14 15:26:43 +0000
committerDavid Carlier <devnexen@gmail.com>2020-06-14 15:32:02 +0000
commit67d87dd2a9dbc393b56162e77ff3178f4e3f59fa (patch)
tree24a839cd715e1bc204edeff4ee886f04d7fca267 /llvm_mode/afl-clang-fast.c
parentbfe5b88e782ffd3f97c2a25da60b0b36552a6a64 (diff)
downloadafl++-67d87dd2a9dbc393b56162e77ff3178f4e3f59fa.tar.gz
Porting to Haiku.
getrusage does not implement resident memory gathering, no shm api neither.
Diffstat (limited to 'llvm_mode/afl-clang-fast.c')
-rw-r--r--llvm_mode/afl-clang-fast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm_mode/afl-clang-fast.c b/llvm_mode/afl-clang-fast.c
index 75504ea5..57504e65 100644
--- a/llvm_mode/afl-clang-fast.c
+++ b/llvm_mode/afl-clang-fast.c
@@ -464,7 +464,7 @@ static void edit_params(u32 argc, char **argv, char **envp) {
 
   }
 
-#ifdef USEMMAP
+#if defined(USEMMAP) && !defined(__HAIKU__)
   cc_params[cc_par_cnt++] = "-lrt";
 #endif