Re: [Mingw-w64-public] patch to add htonll/ntohll

2021-12-17 Thread lhmouse
在 2021-12-17 02:13, Michel Zou 写道: > Hi, > It turns out that these are inline functions, here is a new patch. > xan > Thanks. Pushed to master. Next time, please send a patch created by `git format`, and please do sign off the commit with `git commit -s`. -- Best regards, LIU Hao ___

[Mingw-w64-public] [PATCH 1/2] headers/crt: Add timespec_get in time.h

2021-12-17 Thread Martin Storsjö
From: Biswapriyo Nath Signed-off-by: Martin Storsjö --- Removed superfluous "const" on timespec_get parameters. Moved the include of timeb.h to the head of time.h, to get struct timespec declared before declaring timespec_get that uses it. Added "#ifdef _UCRT" around the declarations (allowing

[Mingw-w64-public] [PATCH 2/2] crt: Add timespec_get import lib aliases

2021-12-17 Thread Martin Storsjö
Normally, timespec_get is aliased to either _timespec32_get or _timespec64_get via an inline function in time.h. But by providing a fallback alias in the import library, configure scripts that try linking the function without actually including time.h will also succeed - we also have other similar

Re: [Mingw-w64-public] [PATCH] headers/crt: Add timespec_get in time.h

2021-12-17 Thread Martin Storsjö
On Sun, 12 Dec 2021, Martin Storsjö wrote: On Sun, 12 Dec 2021, Biswapriyo Nath wrote: 2. The declarations in WinSDK have const parameters but glibc does not. Which is the correct one? Not sure offhand - let me study it and get back to you. The const-ness that you're referring to is irrele

Re: [Mingw-w64-public] [PATCH 2/2] Add missing KSCategories to ks.h

2021-12-17 Thread LIU Hao
在 2021-12-17 22:41, Tom Ritter 写道: From 10ca079810ea8d50340e98fc7b6579f73595d668 Mon Sep 17 00:00:00 2001 From: Tom Ritter Date: Fri, 17 Dec 2021 09:39:03 -0500 Subject: [PATCH 2/2] Add missing KScategories --- mingw-w64-headers/include/ks.h | 125 + 1 file ch

Re: [Mingw-w64-public] patch to add htonll/ntohll

2021-12-17 Thread LIU Hao
在 2021-12-17 02:13, Michel Zou 写道:> Hi, > It turns out that these are inline functions, here is a new patch. > xan > Thanks. Pushed to master. Next time, please send a patch created by `git format`, and please do sign off the commit with `git commit -s`. -- Best regards, LIU Hao

[Mingw-w64-public] [PATCH 2/2] Add missing KSCategories to ks.h

2021-12-17 Thread Tom Ritter
From 10ca079810ea8d50340e98fc7b6579f73595d668 Mon Sep 17 00:00:00 2001 From: Tom Ritter Date: Fri, 17 Dec 2021 09:39:03 -0500 Subject: [PATCH 2/2] Add missing KScategories --- mingw-w64-headers/include/ks.h | 125 + 1 file changed, 125 insertions(+) diff --git a

[Mingw-w64-public] [PATCH 1/2] Reorder KSCategories in ks.h

2021-12-17 Thread Tom Ritter
From 52170da06a19b955bddd54839c9b4c5d853137c1 Mon Sep 17 00:00:00 2001 From: Tom Ritter Date: Fri, 17 Dec 2021 09:37:07 -0500 Subject: [PATCH 1/2] Reorder existing KSCategories to be aphabetical --- mingw-w64-headers/include/ks.h | 52 +- 1 file changed, 26 inser