Module: wine
Branch: master
Commit: 9c5df8004d3a4f1e4ecef3f9ab2393f561365587
URL:
https://gitlab.winehq.org/wine/wine/-/commit/9c5df8004d3a4f1e4ecef3f9ab2393…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Wed Feb 28 16:23:36 2024 +0100
krnl386.exe: Use the official definitions for exception flags.
---
dlls/krnl386.exe16/wowthunk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/krnl386.exe16/wowthunk.c b/dlls/krnl386.exe16/wowthunk.c
index 22471d6d612..b729c38e8f1 100644
--- a/dlls/krnl386.exe16/wowthunk.c
+++ b/dlls/krnl386.exe16/wowthunk.c
@@ -142,7 +142,7 @@ static BOOL fix_selector( CONTEXT *context )
static DWORD call16_handler( EXCEPTION_RECORD *record, EXCEPTION_REGISTRATION_RECORD
*frame,
CONTEXT *context, EXCEPTION_REGISTRATION_RECORD
**pdispatcher )
{
- if (record->ExceptionFlags & (EH_UNWINDING | EH_EXIT_UNWIND))
+ if (record->ExceptionFlags & (EXCEPTION_UNWINDING | EXCEPTION_EXIT_UNWIND))
{
/* unwinding: restore the stack pointer in the TEB, and leave the Win16 mutex */
STACK32FRAME *frame32 = CONTAINING_RECORD(frame, STACK32FRAME, frame);