From d3b8e65bdd075ceda103a42dae7767f5a38e8bf2 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Sun, 11 Apr 2021 00:44:05 +0100 Subject: [PATCH] Add missing Win32 platform version definitions. --- setter/src/win32/win32.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/setter/src/win32/win32.h b/setter/src/win32/win32.h index b34b49c..1c39b52 100644 --- a/setter/src/win32/win32.h +++ b/setter/src/win32/win32.h @@ -30,6 +30,14 @@ Copyright (C) 2011-2021 Natalia Portillo #include +#ifndef VER_PLATFORM_WIN32_WINDOWS +#define VER_PLATFORM_WIN32_WINDOWS 0x0001 +#endif + +#ifndef VER_PLATFORM_WIN32_NT +#define VER_PLATFORM_WIN32_NT 0x0002 +#endif + typedef LONG NTSTATUS; #ifndef NTAPI @@ -64,4 +72,4 @@ static DWORD dwFilePermissions = GENERIC_READ | GENERIC_WRITE; #endif -#pragma clang diagnostic pop \ No newline at end of file +#pragma clang diagnostic pop