File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,13 @@ using namespace icinga;
2020 * should be printed. If it looks somewhat meaningful, you can probably ignore a failure of this test case.
2121 */
2222
23+ #ifndef _MSC_VER
2324#pragma GCC push_options
2425#pragma GCC optimize ("O0")
2526#pragma clang optimize off
26- #ifdef _MSVC_VER
27+ #else /* _MSC_VER */
2728#pragma optimize("", off)
28- #endif /* _MSVC_VER */
29+ #endif /* _MSC_VER */
2930
3031BOOST_AUTO_TEST_SUITE (base_stacktrace)
3132
@@ -65,8 +66,9 @@ BOOST_AUTO_TEST_CASE(stacktrace)
6566
6667BOOST_AUTO_TEST_SUITE_END ()
6768
69+ #ifndef _MSC_VER
6870#pragma GCC pop_options
6971#pragma clang optimize on
70- #ifdef _MSVC_VER
72+ #else /* _MSC_VER */
7173#pragma optimize("", on)
72- #endif /* _MSVC_VER */
74+ #endif /* _MSC_VER */
You can’t perform that action at this time.
0 commit comments