]> git.sesse.net Git - movit/commitdiff
Ask Google Test not to use exceptions.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 20 Jan 2013 01:11:53 +0000 (02:11 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 20 Jan 2013 01:11:53 +0000 (02:11 +0100)
Gives us slightly cleaner shutdown on error. Found by Coverity Scan.

gtest_sdl_main.cpp

index 4a1c74762445522b7ac02e012008c247db404a00..21c923aa755a185e98ea5b9c817e024df750d223 100644 (file)
@@ -1,3 +1,5 @@
+#define GTEST_HAS_EXCEPTIONS 0
+
 #include <SDL/SDL.h>
 #include "gtest/gtest.h"
 
 #include <SDL/SDL.h>
 #include "gtest/gtest.h"