summaryrefslogtreecommitdiff
path: root/src/PowderToySDL.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-07-10 20:59:10 (GMT)
committer jacob1 <jfu614@gmail.com>2013-07-10 20:59:10 (GMT)
commit3203e597b9546d85c3eff887ea4f01e051ebbba0 (patch)
tree9170e9f21628af7aed013daf96b365afc58c9fde /src/PowderToySDL.cpp
parente7a3fd1c29bdc3f16fc6c04ce36f7268adb55092 (diff)
downloadpowder-3203e597b9546d85c3eff887ea4f01e051ebbba0.zip
powder-3203e597b9546d85c3eff887ea4f01e051ebbba0.tar.gz
fix piston bugs, fix crashes, don't use bluescreens when compiled with debug mode in visual studio
Diffstat (limited to 'src/PowderToySDL.cpp')
-rw-r--r--src/PowderToySDL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PowderToySDL.cpp b/src/PowderToySDL.cpp
index f49ed55..0f79d9e 100644
--- a/src/PowderToySDL.cpp
+++ b/src/PowderToySDL.cpp
@@ -779,7 +779,7 @@ int main(int argc, char * argv[])
engine->Begin(XRES+BARSIZE, YRES+MENUSIZE);
engine->SetFastQuit(Client::Ref().GetPrefBool("FastQuit", true));
-#ifndef DEBUG
+#if !defined(DEBUG) && !defined(_DEBUG)
//Get ready to catch any dodgy errors
signal(SIGSEGV, SigHandler);
signal(SIGFPE, SigHandler);