]> jfr.im git - solanum.git/commitdiff
ircd: ircd_signal: win32 stubs
authorWilliam Pitcock <redacted>
Sun, 20 Mar 2016 07:00:22 +0000 (02:00 -0500)
committerWilliam Pitcock <redacted>
Sun, 20 Mar 2016 07:00:22 +0000 (02:00 -0500)
ircd/ircd_signal.c

index b60172952e35d27ca72c07d134496b4c0991df78..e2195704fd99597c44182017f6345a96f31a0359 100644 (file)
@@ -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