stratagus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Stratagus-CVS] stratagus/src/video sdl.c


From: Jimmy Salmon
Subject: [Stratagus-CVS] stratagus/src/video sdl.c
Date: Tue, 02 Dec 2003 18:49:47 -0500

CVSROOT:        /cvsroot/stratagus
Module name:    stratagus
Branch:         
Changes by:     Jimmy Salmon <address@hidden>   03/12/02 18:49:46

Modified files:
        src/video      : sdl.c 

Log message:
        Don't use CleanExit on windows

Patches:
Index: stratagus/src/video/sdl.c
diff -u stratagus/src/video/sdl.c:1.109 stratagus/src/video/sdl.c:1.110
--- stratagus/src/video/sdl.c:1.109     Tue Dec  2 01:19:43 2003
+++ stratagus/src/video/sdl.c   Tue Dec  2 18:49:46 2003
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//     $Id: sdl.c,v 1.109 2003/12/02 06:19:43 mr-russ Exp $
+//     $Id: sdl.c,v 1.110 2003/12/02 23:49:46 jsalmon3 Exp $
 
 //@{
 
@@ -196,12 +196,11 @@
 
        // If debug is enabled, Stratagus disable SDL Parachute.
        // So we need gracefully handle segfaults and aborts.
-#ifdef DEBUG
+#if defined(DEBUG) && !defined(USE_WIN32)
        signal(SIGSEGV, CleanExit);
        signal(SIGABRT, CleanExit);
 #endif
        // Set WindowManager Title
-
        SDL_WM_SetCaption("Stratagus", "Stratagus");
     } else {
        if (VideoBpp == 32 && VideoDepth == 24) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]