Soft'N'Design Software
/
projects
/
webserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a1d9e4
)
adapt for windows
author
Laurent Mazet
<laurent.mazet@thalesgroup.com>
Mon, 22 May 2023 13:39:14 +0000
(15:39 +0200)
committer
Laurent Mazet
<laurent.mazet@thalesgroup.com>
Mon, 22 May 2023 13:39:14 +0000
(15:39 +0200)
server.c
patch
|
blob
|
blame
|
history
diff --git
a/server.c
b/server.c
index 4ead290052798a3d3aa746b3fcabefe4e0f6aa7e..039d4330e0e1da6ce9887e3c0fcaa15f19e0fd52 100644
(file)
--- 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);