From c6e36680090253e2c53c7d6f1b6035c35518cb20 Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Tue, 20 Jul 2004 19:45:31 +0000 Subject: [PATCH] Don't use the special exception handler in debug builds. (This time I think I got it the right way round.) This was SVN commit r785. --- source/main.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/main.cpp b/source/main.cpp index cf3b39dfb5..05c9afe1f5 100755 --- a/source/main.cpp +++ b/source/main.cpp @@ -1132,11 +1132,10 @@ static void Frame() #ifdef _WIN32 +# ifdef NDEBUG // Define/undefine this as desired: - -#ifndef NDEBUG # define CUSTOM_EXCEPTION_HANDLER -#endif +# endif #endif #ifdef CUSTOM_EXCEPTION_HANDLER