aboutsummaryrefslogtreecommitdiffstats
path: root/src/threadsocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/threadsocket.cpp')
-rw-r--r--src/threadsocket.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/threadsocket.cpp b/src/threadsocket.cpp
index 419dec66f..a1448fbce 100644
--- a/src/threadsocket.cpp
+++ b/src/threadsocket.cpp
@@ -75,6 +75,10 @@ SocketThread::SocketThread()
}
#else
+# ifdef _WIN32
+# define pipe(fd) _pipe(fd, 1, 0)
+# endif
+
class ThreadSignalSocket final
: public EventHandler
{