From: Mike Pall Date: Sun, 29 Sep 2024 13:33:32 +0000 (+0200) Subject: Remove ancient RtlUnwindEx workaround for MinGW64. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c63a1607068a7698c8d26bde84a0f3ca0a5cfd03;p=thirdparty%2FLuaJIT.git Remove ancient RtlUnwindEx workaround for MinGW64. Thanks to Kacper Michajłow. #1272 --- diff --git a/src/lj_err.c b/src/lj_err.c index 7afe1e29..1d1f6b9e 100644 --- a/src/lj_err.c +++ b/src/lj_err.c @@ -384,12 +384,6 @@ typedef struct UndocumentedDispatcherContext { /* Another wild guess. */ extern void __DestructExceptionObject(EXCEPTION_RECORD *rec, int nothrow); -#ifdef MINGW_SDK_INIT -/* Workaround for broken MinGW64 declaration. */ -VOID RtlUnwindEx_FIXED(PVOID,PVOID,PVOID,PVOID,PVOID,PVOID) asm("RtlUnwindEx"); -#define RtlUnwindEx RtlUnwindEx_FIXED -#endif - #define LJ_MSVC_EXCODE ((DWORD)0xe06d7363) #define LJ_GCC_EXCODE ((DWORD)0x20474343)