From: Laurent Mazet Date: Mon, 22 May 2023 13:39:14 +0000 (+0200) Subject: adapt for windows X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=8ca9131b0029145aea25faacb4088d8d479f1aa0;p=webserver.git adapt for windows --- diff --git a/server.c b/server.c index 4ead290..039d433 100644 --- a/server.c +++ b/server.c @@ -72,8 +72,9 @@ void init_network_context (void) assert (SOCKET_ERROR == -1); #endif +#ifndef _WIN32 /* Posix */ signal (SIGINT, &stop_server); - signal (SIGQUIT, &stop_server); +#endif signal (SIGABRT, &stop_server); signal (SIGSEGV, &stop_server); signal (SIGTERM, &stop_server);