Fixed #789 Fix utest/ctest.h on Mingw.
authorZhang Xianyi <traits.zhang@gmail.com>
Sat, 5 Mar 2016 14:34:37 +0000 (09:34 -0500)
committerZhang Xianyi <traits.zhang@gmail.com>
Sat, 5 Mar 2016 14:34:37 +0000 (09:34 -0500)
utest/ctest.h

index 6d859bc..a62103f 100644 (file)
@@ -58,6 +58,10 @@ struct ctest {
 #define __CTEST_APPLE
 #endif
 
+#ifdef __MINGW32__
+#undef CTEST_SEGFAULT
+#endif
+
 #if defined(_WIN32) && defined(_MSC_VER)
 #define __CTEST_MSVC
 #endif