diff --git a/reactos/lib/3rdparty/mingw/crtexe.c b/reactos/lib/3rdparty/mingw/crtexe.c index 23368b6c778..a3e613d7adc 100644 --- a/reactos/lib/3rdparty/mingw/crtexe.c +++ b/reactos/lib/3rdparty/mingw/crtexe.c @@ -88,7 +88,7 @@ static _startupinfo startinfo; extern void _pei386_runtime_relocator (void); static long CALLBACK _gnu_exception_handler (EXCEPTION_POINTERS * exception_data); -static LONG __mingw_vex(EXCEPTION_POINTERS * exception_data); +//static LONG __mingw_vex(EXCEPTION_POINTERS * exception_data); #ifdef WPRFLAG static void duplicate_ppstrings (int ac, wchar_t ***av); #else @@ -216,7 +216,7 @@ __tmainCRTStartup (void) #if defined(__i386__) || defined(_M_IX86) __writefsdword(0, 0xffffffff); #endif - AddVectoredExceptionHandler (0, (PVECTORED_EXCEPTION_HANDLER)__mingw_vex); + //AddVectoredExceptionHandler (0, (PVECTORED_EXCEPTION_HANDLER)__mingw_vex); SetUnhandledExceptionFilter (_gnu_exception_handler); _fpreset (); @@ -402,6 +402,7 @@ _gnu_exception_handler (EXCEPTION_POINTERS * exception_data) return action; } +#if 0 static LONG __mingw_vex(EXCEPTION_POINTERS * exception_data) { /* TODO this is not chainablem, therefore need rewrite. Disabled the ill code. */ @@ -426,6 +427,7 @@ static LONG __mingw_vex(EXCEPTION_POINTERS * exception_data) #endif return _gnu_exception_handler(exception_data); } +#endif #ifdef WPRFLAG