diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-17 02:02:20 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-17 02:02:20 +0000 |
commit | 3fe5aa037ac907a2e557cc5019588344eaf8dc9f (patch) | |
tree | 3189c4f543c52c97f9e186606fe9aa838849013f /src/init.c | |
parent | 7af9e42d2150e17139342cb56c3617dc9b75859a (diff) |
Fix numerous errors in Win32 building under Visual Studio due to the many changes to trunk. Trunk now builds under Windows like it should.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2106 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/init.c')
-rw-r--r-- | src/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.c b/src/init.c index 79633d0ec..e80f52c59 100644 --- a/src/init.c +++ b/src/init.c @@ -477,7 +477,9 @@ int init_secondary(int ac, char **av) /* Set signal handlers. Catch certain signals to let us do things or * panic as necessary, and ignore all others. */ +#ifndef _WIN32 signal(SIGHUP, sighandler); +#endif signal(SIGTERM, sighandler); signal(SIGINT, sighandler); |