aboutsummaryrefslogtreecommitdiff
path: root/instrumentation
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-01-05 19:06:27 +0100
committervan Hauser <vh@thc.org>2021-01-05 19:06:27 +0100
commit9d4614ce2f63b2dc74c68455458b7d6ca89a889c (patch)
treee0007b170f9e99666642b9b847874946bafe2ce2 /instrumentation
parentfaefad564be4b6bd8b311cb4990e8fd33acb5c1c (diff)
downloadAFLplusplus-9d4614ce2f63b2dc74c68455458b7d6ca89a889c.tar.gz
haiku support
Diffstat (limited to 'instrumentation')
-rw-r--r--instrumentation/afl-compiler-rt.o.c2
1 files changed, 1 insertions, 1 deletions
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;