about summary refs log tree commit diff
path: root/src/afl-analyze.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afl-analyze.c')
-rw-r--r--src/afl-analyze.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/afl-analyze.c b/src/afl-analyze.c
index 6e1a9e7b..bc562c15 100644
--- a/src/afl-analyze.c
+++ b/src/afl-analyze.c
@@ -995,13 +995,11 @@ int main(int argc, char **argv_orig, char **envp) {
 
       case 'A':                                           /* CoreSight mode */
 
-        if (cs_mode) { FATAL("Multiple -A options not supported"); }
-
-        if (!(__aarch64__ && __linux__)) {
-
-          FATAL("-A option is not supported on this platform");
+#if !defined(__aarch64__) || !defined(__linux__)
+        FATAL("-A option is not supported on this platform");
+#endif
 
-        }
+        if (cs_mode) { FATAL("Multiple -A options not supported"); }
 
         cs_mode = 1;
         fsrv.cs_mode = cs_mode;