crt: Comment duplicate lz32.dll symbols in 32-bit x86 kernel32.def file
According to MS documentation all those LZ functions from lzexpand.h header
file should be linked against the lz32.dll via lz32.lib (liblz32.a in mingw):
https://learn.microsoft.com/en-us/windows/win32/api/lzexpand/nf-lzexpand-lzinit
MS Windows SDK Kernel32.lib import library does not export these symbols.
So comment all duplicate symbols from 32-bit x86 kernel32.def file which are
present in lz32.def file.
Signed-off-by: LIU Hao <lh_mouse@126.com>
diff --git a/mingw-w64-crt/lib32/kernel32.def b/mingw-w64-crt/lib32/kernel32.def
index 8d5fad7..996235d 100644
--- a/mingw-w64-crt/lib32/kernel32.def
+++ b/mingw-w64-crt/lib32/kernel32.def
@@ -1237,7 +1237,7 @@
; BaseProcessInitPostImport@0 ; removed in Windows Vista
BaseUpdateAppcompatCache@12
ConvertFiberToThread@0
-CopyLZFile@8 ; FIXME: MSDN says this is exported from lz32.dll
+; CopyLZFile@8 ; MSDN says this is exported from lz32.dll
CreateActCtxA@4
CreateActCtxW@4
CreateJobSet@12
@@ -1255,8 +1255,8 @@
GetConsoleProcessList@8
GetConsoleSelectionInfo@4
GetCurrentActCtx@4
-GetExpandedNameA@8 ; FIXME: MSDN says this is exported from lz32.dll
-GetExpandedNameW@8 ; FIXME: MSDN says this is exported from lz32.dll
+; GetExpandedNameA@8 ; MSDN says this is exported from lz32.dll
+; GetExpandedNameW@8 ; MSDN says this is exported from lz32.dll
GetFirmwareEnvironmentVariableA@16
GetFirmwareEnvironmentVariableW@16
GetModuleHandleExA@12
@@ -1281,17 +1281,17 @@
IsProcessInJob@12
; IsValidUILanguage@4 ; removed in Windows Vista
IsWow64Process@8
-LZClose@4 ; FIXME: MSDN says this is exported from lz32.dll
-LZCloseFile@4 ; FIXME: MSDN says this is exported from lz32.dll
-LZCopy@8 ; FIXME: MSDN says this is exported from lz32.dll
-LZCreateFileW@20 ; FIXME: MSDN says this is exported from lz32.dll
-LZDone@0 ; FIXME: MSDN says this is exported from lz32.dll
-LZInit@4 ; FIXME: MSDN says this is exported from lz32.dll
-LZOpenFileA@12 ; FIXME: MSDN says this is exported from lz32.dll
-LZOpenFileW@12 ; FIXME: MSDN says this is exported from lz32.dll
-LZRead@12 ; FIXME: MSDN says this is exported from lz32.dll
-LZSeek@12 ; FIXME: MSDN says this is exported from lz32.dll
-LZStart@0 ; FIXME: MSDN says this is exported from lz32.dll
+; LZClose@4 ; MSDN says this is exported from lz32.dll
+; LZCloseFile@4 ; MSDN says this is exported from lz32.dll
+; LZCopy@8 ; MSDN says this is exported from lz32.dll
+; LZCreateFileW@20 ; MSDN says this is exported from lz32.dll
+; LZDone@0 ; MSDN says this is exported from lz32.dll
+; LZInit@4 ; MSDN says this is exported from lz32.dll
+; LZOpenFileA@12 ; MSDN says this is exported from lz32.dll
+; LZOpenFileW@12 ; MSDN says this is exported from lz32.dll
+; LZRead@12 ; MSDN says this is exported from lz32.dll
+; LZSeek@12 ; MSDN says this is exported from lz32.dll
+; LZStart@0 ; MSDN says this is exported from lz32.dll
; NumaVirtualQueryNode@16 ; removed in Windows Server 2003
QueryActCtxW@28
QueryDepthSList@4