From a4361e6a05c1ecc56230f36908e6babec8176e68 Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <[email protected]>
Date: Tue, 16 Jun 2020 13:13:41 +0530
Subject: [PATCH] headers/debugapi: add WaitForDebugEventEx for Win10 only

Signed-off-by: Biswapriyo Nath <[email protected]>
---
 mingw-w64-headers/include/debugapi.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/mingw-w64-headers/include/debugapi.h 
b/mingw-w64-headers/include/debugapi.h
index 107bb74..844b645 100644
--- a/mingw-w64-headers/include/debugapi.h
+++ b/mingw-w64-headers/include/debugapi.h
@@ -26,6 +26,9 @@ extern "C" {
 #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
   WINBASEAPI WINBOOL APIENTRY ContinueDebugEvent (DWORD dwProcessId, DWORD 
dwThreadId, DWORD dwContinueStatus);
   WINBASEAPI WINBOOL APIENTRY WaitForDebugEvent (LPDEBUG_EVENT lpDebugEvent, 
DWORD dwMilliseconds);
+#if WINVER >= _WIN32_WINNT_WIN10
+  WINBASEAPI WINBOOL APIENTRY WaitForDebugEventEx (LPDEBUG_EVENT lpDebugEvent, 
DWORD dwMilliseconds);
+#endif
   WINBASEAPI WINBOOL APIENTRY DebugActiveProcess (DWORD dwProcessId);
   WINBASEAPI WINBOOL APIENTRY DebugActiveProcessStop (DWORD dwProcessId);
   WINBASEAPI WINBOOL WINAPI CheckRemoteDebuggerPresent (HANDLE hProcess, PBOOL 
pbDebuggerPresent);
-- 
2.27.0

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to