summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-10-17 12:17:10 +0200
committerSebastien Helleu <flashcode@flashtux.org>2012-10-17 12:17:10 +0200
commit066f1846057f22c950beefd6b68471f4f4bebd47 (patch)
tree9877fefa2a41e1d68dc43f585e9ceeba6c0e9faf /src/core
parent43c01f76a24e3c330dbb763405b844fedc97312f (diff)
downloadweechat-066f1846057f22c950beefd6b68471f4f4bebd47.zip
core: fix connection to servers on OS X
Diffstat (limited to 'src/core')
-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