Index: chrome/common/external_ipc_fuzzer.cc |
diff --git a/chrome/common/external_ipc_fuzzer.cc b/chrome/common/external_ipc_fuzzer.cc |
index 9e125cc2cdc6b222610d5647e2e3897469b97c29..10416c4482d726eb929529abf93ae457147891e5 100644 |
--- a/chrome/common/external_ipc_fuzzer.cc |
+++ b/chrome/common/external_ipc_fuzzer.cc |
@@ -6,17 +6,16 @@ |
#if defined(OS_LINUX) |
#include <dlfcn.h> |
-#endif |
typedef IPC::ChannelProxy::OutgoingMessageFilter *(*GetFuzzerFunction)(); |
const char kFuzzLibraryName[] = "libipcfuzz.so"; |
const char kFuzzEntryName[] = "GetFilter"; |
+#endif |
IPC::ChannelProxy::OutgoingMessageFilter* LoadExternalIPCFuzzer() { |
IPC::ChannelProxy::OutgoingMessageFilter* result = NULL; |
#if defined(OS_LINUX) |
- |
// Fuzz is currently linux-only feature |
void *fuzz_library = dlopen(kFuzzLibraryName, RTLD_NOW); |
if (fuzz_library) { |