summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2014-07-28 21:06:37 +1200
committerMatthew Parlane <parlane@gmail.com>2014-07-28 21:06:37 +1200
commit3554a15180cf03892dea73d543e36ffa08965ca2 (patch)
treefe5c82dab6e934eb14fbefd36a08348c11ce6145 /Source/Core/InputCommon
parent86db0040b7402342f1559c22034adcd3921920b7 (diff)
parent4fa71dd59ead7e6590592f036c3d4f9f63ab581a (diff)
Merge pull request #680 from lioncash/fakepoll-removal
Remove fakepoll.h
Diffstat (limited to 'Source/Core/InputCommon')
-rw-r--r--Source/Core/InputCommon/stdafx.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/Source/Core/InputCommon/stdafx.h b/Source/Core/InputCommon/stdafx.h
index cd18106bfc..1ae6b686cd 100644
--- a/Source/Core/InputCommon/stdafx.h
+++ b/Source/Core/InputCommon/stdafx.h
@@ -3,12 +3,13 @@
// Refer to the license.txt file included.
#pragma once
-/*
-#define _WIN32_WINNT 0x501
-#ifndef _WIN32_IE
-#define _WIN32_IE 0x0500 // Default value is 0x0400
-#endif
-*/
+
+// Windows Vista is the lowest version we support
+// BUT We need to use the headers for Win8+ XInput, so Win8 version is used here.
+// The XInput code will gracefully fallback to older versions if the new one
+// isn't available at runtime.
+#define _WIN32_WINNT 0x0602
+
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#define NOMINMAX // Don't include windows min/max definitions