From c63a1607068a7698c8d26bde84a0f3ca0a5cfd03 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Sun, 29 Sep 2024 15:33:32 +0200 Subject: [PATCH] Remove ancient RtlUnwindEx workaround for MinGW64. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Kacper Michajłow. #1272 --- src/lj_err.c | 6 ------ 1 file changed, 6 deletions(-) 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)