Fix for win32 dedicated servers (oh it still doesn't compile, other problems remain...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 27 Mar 2003 12:25:32 +0000 (12:25 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 27 Mar 2003 12:25:32 +0000 (12:25 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2858 d7cf8633-e32d-0410-b094-e92efae38249

vid_null.c

index 77ed527..5a0a448 100644 (file)
@@ -35,6 +35,7 @@ void signal_handler(int sig)
 
 void InitSig(void)
 {
+#ifndef WIN32
        signal(SIGHUP, signal_handler);
        signal(SIGINT, signal_handler);
        signal(SIGQUIT, signal_handler);
@@ -45,6 +46,7 @@ void InitSig(void)
        signal(SIGFPE, signal_handler);
        signal(SIGSEGV, signal_handler);
        signal(SIGTERM, signal_handler);
+#endif
 }
 
 void VID_GetWindowSize (int *x, int *y, int *width, int *height)