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/account-server | |
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/account-server')
-rw-r--r-- | src/account-server/main-account.cpp | 2 |
1 files changed, 2 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. |