Module: wine
Branch: master
Commit: 35ef1be8ef6fe2c4b1d7687250ddb5061adc8435
URL:
https://gitlab.winehq.org/wine/wine/-/commit/35ef1be8ef6fe2c4b1d7687250ddb5…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Wed Feb 28 16:23:57 2024 +0100
msvcp90: Use the official definitions for exception flags.
---
dlls/msvcp90/exception.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/msvcp90/exception.c b/dlls/msvcp90/exception.c
index c881b37cd97..052172d2d09 100644
--- a/dlls/msvcp90/exception.c
+++ b/dlls/msvcp90/exception.c
@@ -1094,7 +1094,7 @@ static void exception_ptr_rethrow(const exception_ptr *ep)
return;
}
- RaiseException(ep->rec->ExceptionCode, ep->rec->ExceptionFlags &
(~EH_UNWINDING),
+ RaiseException(ep->rec->ExceptionCode, ep->rec->ExceptionFlags &
~EXCEPTION_UNWINDING,
ep->rec->NumberParameters, ep->rec->ExceptionInformation);
}
@@ -1424,7 +1424,7 @@ void __cdecl __ExceptionPtrCopyException(exception_ptr *ep,
memset(ep->rec, 0, sizeof(EXCEPTION_RECORD));
ep->rec->ExceptionCode = CXX_EXCEPTION;
- ep->rec->ExceptionFlags = EH_NONCONTINUABLE;
+ ep->rec->ExceptionFlags = EXCEPTION_NONCONTINUABLE;
ep->rec->NumberParameters = 3;
ep->rec->ExceptionInformation[0] = CXX_FRAME_MAGIC_VC6;
ep->rec->ExceptionInformation[2] = (ULONG_PTR)type;
@@ -1462,7 +1462,7 @@ void __cdecl __ExceptionPtrCopyException(exception_ptr *ep,
memset(ep->rec, 0, sizeof(EXCEPTION_RECORD));
ep->rec->ExceptionCode = CXX_EXCEPTION;
- ep->rec->ExceptionFlags = EH_NONCONTINUABLE;
+ ep->rec->ExceptionFlags = EXCEPTION_NONCONTINUABLE;
ep->rec->NumberParameters = 4;
ep->rec->ExceptionInformation[0] = CXX_FRAME_MAGIC_VC6;
ep->rec->ExceptionInformation[2] = (ULONG_PTR)type;