From 3d8bfdd144d731f489856cf40ede35ff3ca6a033 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Wed, 27 Aug 2025 19:36:26 +0300 Subject: [PATCH] [MSVCRT] Comment out some x86 exception handling functions Use our own instead --- dll/win32/msvcrt/except_i386.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dll/win32/msvcrt/except_i386.c b/dll/win32/msvcrt/except_i386.c index fc6a7a2e940..178bdb7b6cc 100644 --- a/dll/win32/msvcrt/except_i386.c +++ b/dll/win32/msvcrt/except_i386.c @@ -547,6 +547,7 @@ static void msvcrt_local_unwind4( ULONG *cookie, MSVCRT_EXCEPTION_FRAME* frame, TRACE("unwound OK\n"); } +#ifndef __REACTOS__ /******************************************************************* * _local_unwind2 (MSVCRT.@) */ @@ -554,6 +555,7 @@ void CDECL _local_unwind2(MSVCRT_EXCEPTION_FRAME* frame, int trylevel) { msvcrt_local_unwind2( frame, trylevel, &frame->_ebp ); } +#endif /******************************************************************* * _local_unwind4 (MSVCRT.@) @@ -563,6 +565,9 @@ void CDECL _local_unwind4( ULONG *cookie, MSVCRT_EXCEPTION_FRAME* frame, int try msvcrt_local_unwind4( cookie, frame, trylevel, &frame->_ebp ); } +#ifdef __REACTOS__ +void CDECL _global_unwind2(EXCEPTION_REGISTRATION_RECORD* frame); +#else /******************************************************************* * _global_unwind2 (MSVCRT.@) */ @@ -657,6 +662,7 @@ int CDECL _except_handler3(PEXCEPTION_RECORD rec, TRACE("reached TRYLEVEL_END, returning ExceptionContinueSearch\n"); return ExceptionContinueSearch; } +#endif /********************************************************************* * _except_handler4_common (MSVCRT.@)