summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Curt Coder <curtcoder@mail.com>2015-05-27 16:39:12 +0300
committer Curt Coder <curtcoder@mail.com>2015-05-27 16:39:12 +0300
commiteab88c568793f9d84fc612d83d25337df4d7a2ee (patch)
tree1dd0570cfc400845d2e9fbca68bfccc7929f2a0f
parentefb22342e37a19a77af674fd9c822be4ef61fd87 (diff)
Fixed clang build. (nw)
-rw-r--r--3rdparty/unittest-cpp/UnitTest++/Posix/SignalTranslator.h6
1 files changed, 3 insertions, 3 deletions
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");
}