diff --git a/example/terminate_handler.cpp b/example/terminate_handler.cpp index 11d8e75..3854ca3 100644 --- a/example/terminate_handler.cpp +++ b/example/terminate_handler.cpp @@ -219,7 +219,7 @@ int test_inplace() { return 51; } -#ifndef !defined(BOOST_MSVC) && !defined(BOOST_STACKTRACE_USE_WINDBG) +#if !defined(BOOST_MSVC) && !defined(BOOST_STACKTRACE_USE_WINDBG) // This is very dependent on compiler and link flags. No sane way to make it work, because // BOOST_NOINLINE could be ignored by MSVC compiler if link-time optimization is enabled. if (ss1 && ss1[0].name() != ss2[0].name()) { diff --git a/test/test.cpp b/test/test.cpp index 60d4007..62ea4b5 100644 --- a/test/test.cpp +++ b/test/test.cpp @@ -110,7 +110,7 @@ void test_comparisons_base(Bt nst, Bt st) { cst = cst; BOOST_TEST(nst); BOOST_TEST(st); -#ifndef !defined(BOOST_MSVC) && !defined(BOOST_STACKTRACE_USE_WINDBG) +#if !defined(BOOST_MSVC) && !defined(BOOST_STACKTRACE_USE_WINDBG) // This is very dependent on compiler and link flags. No sane way to make it work, because // BOOST_NOINLINE could be ignored by MSVC compiler if link-time optimization is enabled. BOOST_TEST(nst[0] != st[0]);