From 6334168bf5f2cc0ec68d75d78c327e3e3d7a8d43 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sun, 13 Jul 2025 10:01:40 +0300 Subject: [PATCH] [COMPILER_APITEST] Enable some SEH tests for MSVC builds --- modules/rostests/apitests/compiler/ms_seh.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/rostests/apitests/compiler/ms_seh.c b/modules/rostests/apitests/compiler/ms_seh.c index c3b4190654f..2b92f1451bd 100644 --- a/modules/rostests/apitests/compiler/ms_seh.c +++ b/modules/rostests/apitests/compiler/ms_seh.c @@ -79,6 +79,10 @@ int seh0058(); } \ _SEH2_END +#if defined(_MSC_VER) && !defined(_USE_NATIVE_SEH) +#define _USE_NATIVE_SEH +#endif + START_TEST(ms_seh) { run_test(seh0001);