diff options
author | Adam <Adam@anope.org> | 2013-03-01 00:57:24 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-03-01 00:57:24 -0500 |
commit | 91ad9d22cad8c1da3134975852ba1f732b55dabe (patch) | |
tree | f93eb451755e2e531c75d2c16ced8c96f17e243c /src/init.cpp | |
parent | 6aa9ad938a4923bd730516aa97a6e19643fd5c57 (diff) |
Fix Windows build
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index a419c9f8d..7c6d1731d 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -189,7 +189,9 @@ static void InitSignals() sa.sa_handler = SIG_IGN; +#ifndef _WIN32 sigaction(SIGCHLD, &sa, NULL); +#endif sigaction(SIGPIPE, &sa, NULL); } |