From eab88c568793f9d84fc612d83d25337df4d7a2ee Mon Sep 17 00:00:00 2001 From: Curt Coder Date: Wed, 27 May 2015 16:39:12 +0300 Subject: Fixed clang build. (nw) --- 3rdparty/unittest-cpp/UnitTest++/Posix/SignalTranslator.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '3rdparty/unittest-cpp') diff --git a/3rdparty/unittest-cpp/UnitTest++/Posix/SignalTranslator.h b/3rdparty/unittest-cpp/UnitTest++/Posix/SignalTranslator.h index 50da5f996f6..5b98d977b93 100644 --- a/3rdparty/unittest-cpp/UnitTest++/Posix/SignalTranslator.h +++ b/3rdparty/unittest-cpp/UnitTest++/Posix/SignalTranslator.h @@ -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"); } -- cgit v1.2.3-70-g09d2