From 6323779596dea0db7f58afef7d3d3d5588ef20cb Mon Sep 17 00:00:00 2001 From: Rémi Verschelde Date: Sun, 8 Jan 2017 20:41:11 +0100 Subject: Windows: Define _WIN32_WINRT to 0x0600 (Vista) Passed as a compiler define to be sure it is always define before windows.h is loaded. This means that Godot officially requires Vista API or later, it will not work on Windows XP or earlier. Also fix a bogus check for Windows 7 API. --- drivers/windows/file_access_windows.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/windows') diff --git a/drivers/windows/file_access_windows.cpp b/drivers/windows/file_access_windows.cpp index 4060e0e83..183cec96e 100644 --- a/drivers/windows/file_access_windows.cpp +++ b/drivers/windows/file_access_windows.cpp @@ -28,8 +28,6 @@ /*************************************************************************/ #ifdef WINDOWS_ENABLED -#define WINVER 0x0500 - #include #include "shlwapi.h" #include "file_access_windows.h" -- cgit v1.2.3-70-g09d2