Re: [Mingw-w64-public] Deduplicate lib32 and lib-common def files

2025-06-27 Thread Pali Rohár
On Friday 30 May 2025 18:43:30 Pali Rohár wrote: > On Monday 26 May 2025 11:49:04 Martin Storsjö wrote: > > On Mon, 26 May 2025, LIU Hao wrote: > > > > > > Yeah, I agree. That was also the original reason for why we started > > > > merging them originally; we had lib32, lib64 and libarm32, and > >

[Mingw-w64-public] [PATCH 2/2] headers: Declare missing creat64() function

2025-06-27 Thread Pali Rohár
--- mingw-w64-headers/crt/io.h | 1 + 1 file changed, 1 insertion(+) diff --git a/mingw-w64-headers/crt/io.h b/mingw-w64-headers/crt/io.h index ac049e7c5cde..f396b6d2b374 100644 --- a/mingw-w64-headers/crt/io.h +++ b/mingw-w64-headers/crt/io.h @@ -344,6 +344,7 @@ _CRTIMP char* __cdecl _getcwd (ch

[Mingw-w64-public] [PATCH 1/2] crt: Define LFS creat64 symbol as alias in crt-aliases.def.in

2025-06-27 Thread Pali Rohár
--- mingw-w64-crt/def-include/crt-aliases.def.in | 1 + mingw-w64-crt/lib-common/api-ms-win-crt-stdio-l1-1-0.def | 1 + 2 files changed, 2 insertions(+) diff --git a/mingw-w64-crt/def-include/crt-aliases.def.in b/mingw-w64-crt/def-include/crt-aliases.def.in index bf20dc136f9d..302758

[Mingw-w64-public] [PATCH] headers: Guard _fstat, _fstati64, _stat, _stati64, _wstat and _wstati64 for CRT build

2025-06-27 Thread Pali Rohár
The mingw-w64 runtime should not call these functions as they are conditionally defined based on application compile-time macro _USE_32BIT_TIME_T. So hide all these functions when building the mingw-w64 runtime to prevent ABI issues. --- mingw-w64-headers/crt/_mingw_stat64.h | 7 +++ 1 file c