aboutsummaryrefslogtreecommitdiff
path: root/tests/fuzz/fuzzer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fuzz/fuzzer.cpp')
-rw-r--r--tests/fuzz/fuzzer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/fuzz/fuzzer.cpp b/tests/fuzz/fuzzer.cpp
index 24db5ee05..0d2366263 100644
--- a/tests/fuzz/fuzzer.cpp
+++ b/tests/fuzz/fuzzer.cpp
@@ -33,6 +33,8 @@
#include "common/util.h"
#include "fuzzer.h"
+#ifndef OSSFUZZ
+
#if (!defined(__clang__) || (__clang__ < 5))
static int __AFL_LOOP(int)
{
@@ -74,3 +76,5 @@ int run_fuzzer(int argc, const char **argv, Fuzzer &fuzzer)
CATCH_ENTRY_L0("run_fuzzer", 1);
}
+
+#endif