]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
Remove ancient RtlUnwindEx workaround for MinGW64.
authorMike Pall <mike>
Sun, 29 Sep 2024 13:33:32 +0000 (15:33 +0200)
committerMike Pall <mike>
Sun, 29 Sep 2024 13:33:32 +0000 (15:33 +0200)
Thanks to Kacper Michajłow. #1272

src/lj_err.c

index 7afe1e291eb4d120f6f97b76f4d2cd4e580f6928..1d1f6b9ebc0613f10d3b90cb4240429c0543d47e 100644 (file)
@@ -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)