Tweak preprocessor blocks.

This commit is contained in:
Patrick Johnmeyer 2016-01-29 22:48:36 -06:00
parent f82c403768
commit bb7555c718
9 changed files with 90 additions and 87 deletions

View file

@ -476,7 +476,7 @@ cmt_insert_func_header = ""
cmt_insert_class_header = ""
cmt_insert_oc_msg_header = ""
cmt_insert_before_preproc = false
pp_indent = remove
pp_indent = ignore
pp_indent_at_level = false
pp_indent_count = 3
pp_space = ignore

View file

@ -158,6 +158,7 @@
// CHECK_THROW and CHECK_ASSERT only exist when UNITTEST_NO_EXCEPTIONS isn't defined (see config.h)
#ifndef UNITTEST_NO_EXCEPTIONS
#define CHECK_THROW(expression, ExpectedExceptionType) \
UNITTEST_MULTILINE_MACRO_BEGIN \
bool caught_ = false; \
@ -176,4 +177,5 @@
UnitTest::Detail::ExpectAssert(false); \
UNITTEST_MULTILINE_MACRO_END
#endif
#endif

View file

@ -16,6 +16,7 @@
#ifdef _USRDLL
#define UNITTEST_WIN32_DLL
#endif
#define UNITTEST_WIN32
#endif