Add missing Win32 platform version definitions.

This commit is contained in:
2021-04-11 00:44:05 +01:00
parent d0ef9457f3
commit d3b8e65bdd

View File

@@ -30,6 +30,14 @@ Copyright (C) 2011-2021 Natalia Portillo
#include <windows.h>
#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
#pragma clang diagnostic pop