Based on mingw-w64.
Signed-off-by: Jacek Caban jacek@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(+)