summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/os_calls.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/os_calls.c b/common/os_calls.c
index 6b90ffc9..90110963 100644
--- a/common/os_calls.c
+++ b/common/os_calls.c
@@ -797,10 +797,13 @@ g_signal_child_stop(void (*func)(int))
void
g_unset_signals(void)
{
+#if defined(_WIN32)
+#else
sigset_t mask;
sigemptyset(&mask);
sigprocmask(SIG_SETMASK, &mask, NULL);
+#endif
}
/*****************************************************************************/