From e22c5bcc15d469240585c39b628eef9ec69e5328 Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Sun, 31 Jan 2016 17:46:44 +0000 Subject: compat: Ensure newer Windows version defines exist. Some of the WinSDK headers (e.g, dcomp.h) rely on them being defined, but not all MinGW versions out there have them. --- compat/winsdk_compat.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'compat') diff --git a/compat/winsdk_compat.h b/compat/winsdk_compat.h index 9b73c4f8..e81ab585 100644 --- a/compat/winsdk_compat.h +++ b/compat/winsdk_compat.h @@ -768,5 +768,30 @@ #endif +#ifndef _WIN32_WINNT_WINBLUE +#define _WIN32_WINNT_WINBLUE 0x0603 +#endif + +#ifndef _WIN32_WINNT_WINTHRESHOLD +#define _WIN32_WINNT_WINTHRESHOLD 0x0A00 +#endif + +#ifndef _WIN32_WINNT_WIN10 +#define _WIN32_WINNT_WIN10 0x0A00 +#endif + +#ifndef NTDDI_WINBLUE +#define NTDDI_WINBLUE 0x06030000 +#endif + +#ifndef NTDDI_WINTHRESHOLD +#define NTDDI_WINTHRESHOLD 0x0A000000 +#endif + +#ifndef NTDDI_WIN10 +#define NTDDI_WIN10 0x0A000000 +#endif + + #endif /* __MINGW32__ */ -- cgit v1.2.3