diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/account-server/main-account.cpp | 2 | ||||
-rw-r--r-- | src/game-server/main-game.cpp | 2 |
3 files changed, 6 insertions, 0 deletions
@@ -4,6 +4,8 @@ * src/game-server/gamehandler.cpp, src/game-server/accountconnection.cpp: Bugfixes related to switch_character. + * src/account-server/main-account.cpp, src/game-server/main-game.cpp: + Small modification to accomodate MS-Windows. 2007-02-04 Rogier Polak <rogier_polak@users.sourceforge.net> diff --git a/src/account-server/main-account.cpp b/src/account-server/main-account.cpp index dc06be96..cf743688 100644 --- a/src/account-server/main-account.cpp +++ b/src/account-server/main-account.cpp @@ -85,7 +85,9 @@ void initialize() signal(SIGSEGV, SIG_DFL); // Used to close via process signals +#if (defined __USE_UNIX98 || defined __FreeBSD__) signal(SIGQUIT, closeGracefully); +#endif signal(SIGINT, closeGracefully); // Set enet to quit on exit. diff --git a/src/game-server/main-game.cpp b/src/game-server/main-game.cpp index b33c4016..6383a9ec 100644 --- a/src/game-server/main-game.cpp +++ b/src/game-server/main-game.cpp @@ -112,7 +112,9 @@ void initialize() signal(SIGSEGV, SIG_DFL); // Used to close via process signals +#if (defined __USE_UNIX98 || defined __FreeBSD__) signal(SIGQUIT, closeGracefully); +#endif signal(SIGINT, closeGracefully); /* |