diff options
author | Rogier Polak <rogier.l.a.polak@gmail.com> | 2007-02-24 16:40:41 +0000 |
---|---|---|
committer | Rogier Polak <rogier.l.a.polak@gmail.com> | 2007-02-24 16:40:41 +0000 |
commit | d495ca387a07c0caf78975e1f170c5e6bb9fb326 (patch) | |
tree | 7e581b9e709545fc51ae1d7f4516a58f348b0ecf /src | |
parent | faff6019cf04cdff954881056d24473f21d913f6 (diff) | |
download | manaserv-d495ca387a07c0caf78975e1f170c5e6bb9fb326.tar.gz manaserv-d495ca387a07c0caf78975e1f170c5e6bb9fb326.tar.bz2 manaserv-d495ca387a07c0caf78975e1f170c5e6bb9fb326.tar.xz manaserv-d495ca387a07c0caf78975e1f170c5e6bb9fb326.zip |
Small modification to fix compilation issues on MS-Windows
Diffstat (limited to 'src')
-rw-r--r-- | src/account-server/main-account.cpp | 2 | ||||
-rw-r--r-- | src/game-server/main-game.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
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); /* |