From 760d4991f331c1a6719ce82df9b612e94c9a387c Mon Sep 17 00:00:00 2001 From: van Hauser Date: Mon, 11 Nov 2019 23:50:31 +0100 Subject: Android PR integration --- src/afl-as.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/afl-as.c') diff --git a/src/afl-as.c b/src/afl-as.c index 312ae0a7..a0ebb2e0 100644 --- a/src/afl-as.c +++ b/src/afl-as.c @@ -71,7 +71,7 @@ static u32 inst_ratio = 100, /* Instrumentation probability (%) */ instrumentation for whichever mode we were compiled with. This is not perfect, but should do the trick for almost all use cases. */ -#ifdef __x86_64__ +#ifdef WORD_SIZE_64 static u8 use_64bit = 1; @@ -83,7 +83,7 @@ static u8 use_64bit = 0; #error "Sorry, 32-bit Apple platforms are not supported." #endif /* __APPLE__ */ -#endif /* ^__x86_64__ */ +#endif /* ^WORD_SIZE_64 */ /* Examine and modify parameters to pass to 'as'. Note that the file name is always the last parameter passed by GCC, so we exploit this property -- cgit 1.4.1