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