diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2016-08-06 22:13:52 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2016-08-06 22:13:52 +0200 |
commit | 399636f98453bdc1fca19b4dbc742993549aa6c3 (patch) | |
tree | 5509d4b148c973a464dcb92cd1c327e75238c890 /src/core | |
parent | eff8d3f3fb1b77dcaaa2d8799cbb6c528ed33eb8 (diff) | |
download | weechat-399636f98453bdc1fca19b4dbc742993549aa6c3.zip |
api: fix connection to servers with hook_connect() on Windows 10 with Windows subsystem for Linux (closes #770)
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/wee-hook.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-hook.h b/src/core/wee-hook.h index cdbba4027..ae6ba5600 100644 --- a/src/core/wee-hook.h +++ b/src/core/wee-hook.h @@ -27,7 +27,7 @@ #include <gnutls/gnutls.h> #endif -#if defined(__CYGWIN__) || defined(__APPLE__) || defined(__MACH__) +#if !defined(HAVE_SOCKETPAIR_SOCK_DGRAM) || 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 |