summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/i_main.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/i_main.c b/src/i_main.c
index 6c60ad69..43f171c9 100644
--- a/src/i_main.c
+++ b/src/i_main.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: i_main.c 86 2005-09-07 21:40:28Z fraggle $
+// $Id: i_main.c 89 2005-09-07 22:58:34Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -22,6 +22,9 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.5 2005/09/07 22:58:34 fraggle
+// No SIGHUP on Windows
+//
// Revision 1.4 2005/09/07 21:40:28 fraggle
// Catch signals and exit cleanly
//
@@ -41,7 +44,7 @@
//-----------------------------------------------------------------------------
static const char
-rcsid[] = "$Id: i_main.c 86 2005-09-07 21:40:28Z fraggle $";
+rcsid[] = "$Id: i_main.c 89 2005-09-07 22:58:34Z fraggle $";
#include <signal.h>
@@ -70,7 +73,9 @@ int main(int argc, char **argv)
signal(SIGINT, SignalHandler);
signal(SIGFPE, SignalHandler);
signal(SIGABRT, SignalHandler);
+#ifdef SIGHUP
signal(SIGHUP, SignalHandler);
+#endif
#ifdef SIGPIPE
signal(SIGHUP, SignalHandler);
#endif