mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 19:05:52 +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;
|
_SEH2_END;
|
||||||
|
|
||||||
|
/* This works with a proper SEH implementation, but not with our hacked PSEH */
|
||||||
|
#ifdef _USE_NATIVE_SEH
|
||||||
return (val == 4);
|
return (val == 4);
|
||||||
|
#else
|
||||||
|
return (val == 4 || val == 3);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFINE_TEST(test_unvolatile_2)
|
DEFINE_TEST(test_unvolatile_2)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue