Skip to content

Commit 6334168

Browse files
committed
[COMPILER_APITEST] Enable some SEH tests for MSVC builds
1 parent d958a24 commit 6334168

File tree

1 file changed

+4
-0
lines changed
  • modules/rostests/apitests/compiler

1 file changed

+4
-0
lines changed

modules/rostests/apitests/compiler/ms_seh.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ int seh0058();
7979
} \
8080
_SEH2_END
8181

82+
#if defined(_MSC_VER) && !defined(_USE_NATIVE_SEH)
83+
#define _USE_NATIVE_SEH
84+
#endif
85+
8286
START_TEST(ms_seh)
8387
{
8488
run_test(seh0001);

0 commit comments

Comments
 (0)