mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 20:50:41 +00:00
[SDK] Fix dummy SEH to always reference the parameter in _SEH2_EXCEPT
Otherwise, we may have compilation errors if this parameter is the name of a static function.
This commit is contained in:
parent
5ed1867632
commit
7eac585ebf
1 changed files with 2 additions and 2 deletions
|
@ -44,9 +44,9 @@ extern int _SEH2_VolatileExceptionCode;
|
|||
|
||||
#define _SEH2_TRY {
|
||||
#define _SEH2_FINALLY } {
|
||||
#define _SEH2_EXCEPT(...) } if (_SEH2_Volatile0) {
|
||||
#define _SEH2_EXCEPT(...) } if (_SEH2_Volatile0 || (0 && (__VA_ARGS__))) {
|
||||
#define _SEH2_END }
|
||||
#define _SEH2_GetExceptionInformation()
|
||||
#define _SEH2_GetExceptionInformation() 0
|
||||
#define _SEH2_GetExceptionCode() _SEH2_VolatileExceptionCode
|
||||
#define _SEH2_AbnormalTermination() (0)
|
||||
#define _SEH2_YIELD(STMT_) STMT_
|
||||
|
|
Loading…
Reference in a new issue