From 4349ec74e0020fca556535d91ac71c961cf25313 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 7 Sep 2005 22:58:34 +0000 Subject: No SIGHUP on Windows Subversion-branch: /trunk/chocolate-doom Subversion-revision: 89 --- src/i_main.c | 9 +++++++-- 1 file 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 @@ -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 -- cgit v1.2.3