Module: wine
Branch: master
Commit: 18543523e863eddfac753e429587f18c651a77f7
URL:
https://gitlab.winehq.org/wine/wine/-/commit/18543523e863eddfac753e429587f1…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Wed Feb 28 16:25:11 2024 +0100
wow64: Use the official definitions for exception flags.
---
dlls/wow64/syscall.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wow64/syscall.c b/dlls/wow64/syscall.c
index 9f1f324ce35..1b52db370a3 100644
--- a/dlls/wow64/syscall.c
+++ b/dlls/wow64/syscall.c
@@ -127,7 +127,7 @@ void __cdecl __wine_spec_unimplemented_stub( const char *module, const
char *fun
EXCEPTION_RECORD record;
record.ExceptionCode = EXCEPTION_WINE_STUB;
- record.ExceptionFlags = EH_NONCONTINUABLE;
+ record.ExceptionFlags = EXCEPTION_NONCONTINUABLE;
record.ExceptionRecord = NULL;
record.ExceptionAddress = __wine_spec_unimplemented_stub;
record.NumberParameters = 2;
@@ -1410,7 +1410,7 @@ NTSTATUS WINAPI Wow64RaiseException( int code, EXCEPTION_RECORD *rec
)
break;
case 0x29: /* __fastfail */
int_rec.ExceptionCode = STATUS_STACK_BUFFER_OVERRUN;
- int_rec.ExceptionFlags = EH_NONCONTINUABLE;
+ int_rec.ExceptionFlags = EXCEPTION_NONCONTINUABLE;
int_rec.NumberParameters = 1;
int_rec.ExceptionInformation[0] = ctx32.i386.Ecx;
first_chance = FALSE;