summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/wee-hook.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-hook.h b/src/core/wee-hook.h
index 1ad0b6e1e..8db315ea4 100644
--- a/src/core/wee-hook.h
+++ b/src/core/wee-hook.h
@@ -27,7 +27,7 @@
#include <gnutls/gnutls.h>
#endif
-#ifdef __CYGWIN__
+#if defined(__CYGWIN__) || defined(__APPLE__) || defined(__MACH__)
/*
* For the connect hook, when this is defined an array of sockets will
* be passed from the parent process to the child process instead of using