WInSDK checks for _NT_TARGET_VERSION_WIN10_RS4 but it is not defined or used anywhere. So, I think removing that cpp check would not harm the use cases. Tested with pywin32 project.
From 55ce5c0e8bad90b11181e26a5d992d0cceff2913 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath <[email protected]> Date: Wed, 16 Nov 2022 23:10:50 +0530 Subject: [PATCH] headers: Add missing marco in synchapi.h
Signed-off-by: Biswapriyo Nath <[email protected]> --- mingw-w64-headers/include/synchapi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mingw-w64-headers/include/synchapi.h b/mingw-w64-headers/include/synchapi.h index d9a94ed..b0143bc 100644 --- a/mingw-w64-headers/include/synchapi.h +++ b/mingw-w64-headers/include/synchapi.h @@ -128,6 +128,8 @@ extern "C" { WINBASEAPI DWORD WINAPI SignalObjectAndWait (HANDLE hObjectToSignal, HANDLE hObjectToWaitOn, DWORD dwMilliseconds, WINBOOL bAlertable); #if _WIN32_WINNT >= 0x0600 #define CREATE_WAITABLE_TIMER_MANUAL_RESET 0x1 +#define CREATE_WAITABLE_TIMER_HIGH_RESOLUTION 0x2 + WINBASEAPI HANDLE WINAPI CreateWaitableTimerExW (LPSECURITY_ATTRIBUTES lpTimerAttributes, LPCWSTR lpTimerName, DWORD dwFlags, DWORD dwDesiredAccess); #ifdef UNICODE -- 2.38.1
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
