From 9d4614ce2f63b2dc74c68455458b7d6ca89a889c Mon Sep 17 00:00:00 2001 From: van Hauser Date: Tue, 5 Jan 2021 19:06:27 +0100 Subject: [PATCH] haiku support --- instrumentation/afl-compiler-rt.o.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c index 6a7c3dd0..daa50ffa 100644 --- a/instrumentation/afl-compiler-rt.o.c +++ b/instrumentation/afl-compiler-rt.o.c @@ -94,7 +94,7 @@ int __afl_selective_coverage __attribute__((weak)); int __afl_selective_coverage_start_off __attribute__((weak)); int __afl_selective_coverage_temp = 1; -#ifdef __ANDROID__ +#if defined(__ANDROID__) || defined(__HAIKU__) PREV_LOC_T __afl_prev_loc[NGRAM_SIZE_MAX]; u32 __afl_prev_ctx; u32 __afl_cmp_counter;