diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-01-08 20:41:11 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-01-08 20:41:26 +0100 |
commit | 6323779596dea0db7f58afef7d3d3d5588ef20cb (patch) | |
tree | 92bdd7947486ddb6820eb0225d6b345ee69ac432 /platform/windows/key_mapping_win.cpp | |
parent | 920947f297ff3b8d959d15c8e15e7a28dcbdb08f (diff) | |
download | redot-engine-6323779596dea0db7f58afef7d3d3d5588ef20cb.tar.gz |
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.
Diffstat (limited to 'platform/windows/key_mapping_win.cpp')
-rw-r--r-- | platform/windows/key_mapping_win.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/key_mapping_win.cpp b/platform/windows/key_mapping_win.cpp index 00a0ca79c7..9ab222e9ee 100644 --- a/platform/windows/key_mapping_win.cpp +++ b/platform/windows/key_mapping_win.cpp @@ -26,8 +26,8 @@ /* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#define WINVER 0x0500 #include "key_mapping_win.h" + #include <stdio.h> struct _WinTranslatePair { |