Function RtlpNotOwnerCriticalSection takes one pointer argument, so should
use @4 stdcall mangling. This is detected by gendef.
---
 mingw-w64-crt/lib32/ntdll.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mingw-w64-crt/lib32/ntdll.def b/mingw-w64-crt/lib32/ntdll.def
index 0a42f39cb164..eaa14d4da911 100644
--- a/mingw-w64-crt/lib32/ntdll.def
+++ b/mingw-w64-crt/lib32/ntdll.def
@@ -1687,7 +1687,7 @@ RtlpMuiFreeLangRegistryInfo@4
 RtlpMuiRegCreateRegistryInfo@0
 RtlpMuiRegFreeRegistryInfo@8
 RtlpMuiRegLoadRegistryInfo@8
-RtlpNotOwnerCriticalSection@0 ; Check!!! gebdef says @4
+RtlpNotOwnerCriticalSection@4 ; Check!!! gebdef says @4
 RtlpNtCreateKey@24
 RtlpNtEnumerateSubKey@16
 RtlpNtMakeTemporaryKey@4
-- 
2.20.1



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

Reply via email to