summaryrefslogtreecommitdiff
path: root/lib/fuzzer/FuzzerExtFunctionsWeak.cpp
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2018-01-12 17:15:05 +0000
committerKamil Rytarowski <n54@gmx.com>2018-01-12 17:15:05 +0000
commitfd25fae6ea573d2d1829f4ea1f62ff018e8f557b (patch)
tree7eee72657ae0e6be00e8460e0483a0c31c395a10 /lib/fuzzer/FuzzerExtFunctionsWeak.cpp
parent9ebd4e4b00d76d6744709de26f9707723a96905c (diff)
lib Fuzzer FreeBSD support
Summary: Patch by David CARLIER Reviewers: vitalybuka, kcc, dim, emaste, davide, morehouse, george.karpenkov Reviewed By: morehouse Subscribers: george.karpenkov, kubamracek, srhines, mgorny, emaste, krytarowski Differential Revision: https://reviews.llvm.org/D41642 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@322380 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/fuzzer/FuzzerExtFunctionsWeak.cpp')
-rw-r--r--lib/fuzzer/FuzzerExtFunctionsWeak.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fuzzer/FuzzerExtFunctionsWeak.cpp b/lib/fuzzer/FuzzerExtFunctionsWeak.cpp
index 5a9072398..7c47dfae3 100644
--- a/lib/fuzzer/FuzzerExtFunctionsWeak.cpp
+++ b/lib/fuzzer/FuzzerExtFunctionsWeak.cpp
@@ -13,7 +13,7 @@
// to clients right now.
//===----------------------------------------------------------------------===//
#include "FuzzerDefs.h"
-#if LIBFUZZER_LINUX || LIBFUZZER_NETBSD || LIBFUZZER_FUCHSIA
+#if LIBFUZZER_LINUX || LIBFUZZER_NETBSD || LIBFUZZER_FUCHSIA || LIBFUZZER_FREEBSD
#include "FuzzerExtFunctions.h"
#include "FuzzerIO.h"
@@ -51,4 +51,4 @@ ExternalFunctions::ExternalFunctions() {
} // namespace fuzzer
-#endif // LIBFUZZER_LINUX || LIBFUZZER_NETBSD
+#endif // LIBFUZZER_LINUX || LIBFUZZER_NETBSD || LIBFUZZER_FUSCHIA || LIBFUZZER_FREEBSD