RtlUserThreadStart and RtlpQueryProcessDebugInformationRemote symbols use
stdcall calling convention instead of cdecl. This is detected by gendef.

So add stdcall symbol mangling into the lib32/ntdll.def file for them.
---
 mingw-w64-crt/lib32/ntdll.def | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mingw-w64-crt/lib32/ntdll.def b/mingw-w64-crt/lib32/ntdll.def
index 2685cca04225..0a42f39cb164 100644
--- a/mingw-w64-crt/lib32/ntdll.def
+++ b/mingw-w64-crt/lib32/ntdll.def
@@ -1624,7 +1624,7 @@ RtlUpperChar@4
 RtlUpperString@8
 RtlUsageHeap@12
 ; Not sure.
-RtlUserThreadStart
+RtlUserThreadStart@8
 RtlValidAcl@4
 RtlValidProcessProtection@4
 RtlValidRelativeSecurityDescriptor@12
@@ -1696,7 +1696,7 @@ RtlpNtQueryValueKey@20
 RtlpNtSetValueKey@16
 RtlpQueryDefaultUILanguage@8
 ; Not sure.
-RtlpQueryProcessDebugInformationRemote
+RtlpQueryProcessDebugInformationRemote@4
 RtlpRefreshCachedUILanguage@8
 RtlpSetInstallLanguage@8
 RtlpSetPreferredUILanguages@12
-- 
2.20.1



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to