RtlActivateActivationContextUnsafeFast, RtlDeactivateActivationContextUnsafeFast and RtlInterlockedPushListSList symbols use fastcall calling convention. This information is taken from the wine's ntdll definitions: https://gitlab.winehq.org/wine/wine/-/blob/wine-10.15/dlls/ntdll/ntdll.spec
So add fastcall symbol mangling into the lib32/ntdll.def file for them. --- mingw-w64-crt/lib32/ntdll.def | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mingw-w64-crt/lib32/ntdll.def b/mingw-w64-crt/lib32/ntdll.def index 667ebd8d5938..93b8e801ab1b 100644 --- a/mingw-w64-crt/lib32/ntdll.def +++ b/mingw-w64-crt/lib32/ntdll.def @@ -6,9 +6,9 @@ LIBRARY "ntdll.dll" EXPORTS RtlDispatchAPC@12 -RtlActivateActivationContextUnsafeFast@0 -RtlDeactivateActivationContextUnsafeFast@0 -RtlInterlockedPushListSList@8 +@RtlActivateActivationContextUnsafeFast@8 +@RtlDeactivateActivationContextUnsafeFast@4 +@RtlInterlockedPushListSList@16 @RtlUlongByteSwap@4 @RtlUlonglongByteSwap@8 @RtlUshortByteSwap@4 -- 2.20.1 _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
