diff options
| author | 2022-04-30 17:43:47 +0100 | |
|---|---|---|
| committer | 2022-04-30 17:48:12 +0100 | |
| commit | af1d0f6a4b003d30960dfb55d6bdb7dd6c61f97e (patch) | |
| tree | af66e2ac293a71f94ede92b81d498bf145810a78 /src/threadsocket.cpp | |
| parent | Enable writing a pid file on Windows. (diff) | |
Slim down the globally included files.
Diffstat (limited to 'src/threadsocket.cpp')
| -rw-r--r-- | src/threadsocket.cpp | 4 |
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 { |
