From 53e50d0e2f0dd407f6ea6c7f9c0731a69fd9b18d Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 20 Mar 2016 02:00:22 -0500 Subject: [PATCH] ircd: ircd_signal: win32 stubs --- ircd/ircd_signal.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/ircd/ircd_signal.c b/ircd/ircd_signal.c index b6017295..e2195704 100644 --- a/ircd/ircd_signal.c +++ b/ircd/ircd_signal.c @@ -27,6 +27,8 @@ #include "client.h" #include "send.h" +#ifndef _WIN32 + /* * dummy_handler - don't know if this is really needed but if alarm is still * being used we probably will @@ -171,3 +173,17 @@ setup_signals() sigprocmask(SIG_UNBLOCK, &sigs, NULL); } + +#else +void +setup_signals() +{ +/* this is a stub for mingw32 */ +} + +void +setup_reboot_signals() +{ +/* this is a stub for mingw32 */ +} +#endif