Fixed clang build. (nw)

This commit is contained in:
Curt Coder 2015-05-27 16:39:12 +03:00
parent efb22342e3
commit eab88c5687

View File

@ -22,8 +22,8 @@ private:
struct sigaction m_old_SIGTRAP_action;
struct sigaction m_old_SIGSEGV_action;
struct sigaction m_old_SIGBUS_action;
struct sigaction m_old_SIGABRT_action;
struct sigaction m_old_SIGALRM_action;
//struct sigaction m_old_SIGABRT_action;
//struct sigaction m_old_SIGALRM_action;
};
#if !defined (__GNUC__)
@ -35,7 +35,7 @@ private:
#define UNITTEST_THROW_SIGNALS_POSIX_ONLY \
UnitTest::SignalTranslator sig; \
if (UNITTEST_EXTENSION sigsetjmp(*UnitTest::SignalTranslator::s_jumpTarget, 1) != 0) \
throw ("Unhandled system exception");
throw ("Unhandled system exception");
}