aboutsummaryrefslogtreecommitdiff
path: root/tests/no_exception_ensure_tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/no_exception_ensure_tests.cpp')
-rw-r--r--tests/no_exception_ensure_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/no_exception_ensure_tests.cpp b/tests/no_exception_ensure_tests.cpp
index b1ae15b..2ec0ebb 100644
--- a/tests/no_exception_ensure_tests.cpp
+++ b/tests/no_exception_ensure_tests.cpp
@@ -28,7 +28,7 @@ int operator_subscript_no_throw() noexcept
void setup_termination_handler() noexcept
{
-#if defined(_MSC_VER)
+#if defined(GSL_MSVC_USE_STL_NOEXCEPTION_WORKAROUND)
auto& handler = gsl::details::get_terminate_handler();
handler = &test_terminate;