[PATCH] winnt.h: Provide inline NtCurrentTeb implementation for mingw arm builds.

Jacek Caban jacek at codeweavers.com
Wed May 27 13:19:04 CDT 2020

Based on mingw-w64.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
This fixes running on Windows executables built with Wine. I left 
non-mingw case unchanged so it doesn't depend on thread id register. 
Environments where it's not supported can't use PE files anyway.

  include/winnt.h | 7 +++++++
  1 file changed, 7 insertions(+)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winnt.h-Provide-inline-NtCurrentTeb-implementation-for.txt
Type: text/x-patch
Size: 561 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200527/f4a98251/attachment.bin>

More information about the wine-devel mailing list