Fixes for cygwin

This commit is contained in:
philsquared committed 2018-02-01 16:14:20 +00:00
1 parent 1ab6be30a2
commit 5713381d06
2 files changed
+6 -1

No files matched your search

@@ -17,12 +17,14 @@
# pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#endif
#if (defined(CATCH_PLATFORM_WINDOWS) && defined(CATCH_CONFIG_WINDOWS_SEH)) || defined(CATCH_CONFIG_POSIX_SIGNALS)
namespace {
// Report the error condition
void reportFatal( char const * const message ) {
Catch::getCurrentContext().getResultCapture()->handleFatalErrorCondition( message );
}
}
#endif
#if defined ( CATCH_PLATFORM_WINDOWS ) /////////////////////////////////////////