diff options
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 02314aa7..5d3c47bb 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -2968,7 +2968,12 @@ MHD_start_daemon_va (unsigned int flags, | |||
2968 | if (0 == (flags & (MHD_USE_SELECT_INTERNALLY | MHD_USE_THREAD_PER_CONNECTION))) | 2968 | if (0 == (flags & (MHD_USE_SELECT_INTERNALLY | MHD_USE_THREAD_PER_CONNECTION))) |
2969 | use_pipe = 0; /* useless if we are using 'external' select */ | 2969 | use_pipe = 0; /* useless if we are using 'external' select */ |
2970 | if ( (use_pipe) && | 2970 | if ( (use_pipe) && |
2971 | (0 != PIPE (daemon->wpipe)) ) | 2971 | #ifdef WINDOWS |
2972 | (0 != SOCKETPAIR (AF_INET, SOCK_STREAM, IPPROTO_TCP, daemon->wpipe)) | ||
2973 | #else | ||
2974 | (0 != PIPE (daemon->wpipe)) | ||
2975 | #endif | ||
2976 | ) | ||
2972 | { | 2977 | { |
2973 | #if HAVE_MESSAGES | 2978 | #if HAVE_MESSAGES |
2974 | MHD_DLOG (daemon, | 2979 | MHD_DLOG (daemon, |