msvcp90: Use the official definitions for exception flags.
This commit is contained in:
parent
9c5df8004d
commit
35ef1be8ef
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue