Fixed #789 Fix utest/ctest.h on Mingw.

This commit is contained in:
Zhang Xianyi 2016-03-05 09:34:37 -05:00
parent 8c43d7fa5f
commit d23c7c713c
1 changed files with 4 additions and 0 deletions

View 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