Re: [Mingw-w64-public] [PATCH 1/3] headers: Share more TEB functions implementation among architectures.

2024-12-16 Thread Martin Storsjö

On Fri, 13 Dec 2024, Jacek Caban wrote:


---

mingw-w64-headers/include/winnt.h | 91 +++
1 file changed, 45 insertions(+), 46 deletions(-)


I think this one is ok, but it's rather hard to follow, so I hope you've 
doublechecked all the code that is moved here.


// Martin



___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] [PATCH 3/3] headers: Use register variable for NtCurrentTeb implementation on aarch64.

2024-12-16 Thread Martin Storsjö

On Fri, 13 Dec 2024, Jacek Caban wrote:



This change is based on Wine's winnt.h implementation. Using a register 
variable for NtCurrentTeb

allows the compiler to optimize the access more effectively.
---
mingw-w64-headers/include/winnt.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)


Patches 2 and 3 are ok with me. (And 1 is fine if you've doublechecked 
it.)


// Martin



___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


[Mingw-w64-public] Adding an updated Windows SDK header into mingw-w64

2024-12-16 Thread Em Fang via Mingw-w64-public
Hi!

I'm wondering whether I can get connected to an upstream developer who is 
already contributing to mingw-w64 to add an updated Windows SDK header.

Thanks!
Em Fang

___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] [PATCH 3/3] crt: Define __ms_fprintf function for UCRT

2024-12-16 Thread Martin Storsjö

On Sat, 14 Dec 2024, Pali Rohár wrote:


This function is declared in stdio.h but symbol is missing in UCRT import
libraries.

This issue was reported at:
https://github.com/msys2/MINGW-packages/pull/22697#issuecomment-2541206219
---
mingw-w64-crt/Makefile.am |  1 +
mingw-w64-crt/stdio/ucrt_ms_fprintf.c | 22 ++
2 files changed, 23 insertions(+)
create mode 100644 mingw-w64-crt/stdio/ucrt_ms_fprintf.c


Thanks, I pushed this fix for now.

// Martin

___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] Adding an updated Windows SDK header into mingw-w64

2024-12-16 Thread LIU Hao

在 2024-12-17 05:37, Em Fang via Mingw-w64-public 写道:

Hi!

I'm wondering whether I can get connected to an upstream developer who is 
already contributing to mingw-w64 to add an updated Windows SDK header.


These days, requirements for new Windows headers usually come from some other projects, and 
indirectly from MSYS2. I suggest you try contacting Biswapriyo Nath (CC'd).



--
Best regards,
LIU Hao


OpenPGP_signature.asc
Description: OpenPGP digital signature
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public