mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[COMPILER_APITEST] Fix pseh test that failed when compiled with GCC
This commit is contained in:
parent
6cad84a769
commit
8233aa5667
1 changed files with 5 additions and 0 deletions
|
@ -2425,7 +2425,12 @@ DEFINE_TEST(test_unvolatile)
|
|||
}
|
||||
_SEH2_END;
|
||||
|
||||
/* This works with a proper SEH implementation, but not with our hacked PSEH */
|
||||
#ifdef _USE_NATIVE_SEH
|
||||
return (val == 4);
|
||||
#else
|
||||
return (val == 4 || val == 3);
|
||||
#endif
|
||||
}
|
||||
|
||||
DEFINE_TEST(test_unvolatile_2)
|
||||
|
|
Loading…
Reference in a new issue