summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon
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/AudioCommon
parent86db0040b7402342f1559c22034adcd3921920b7 (diff)
parent4fa71dd59ead7e6590592f036c3d4f9f63ab581a (diff)
Merge pull request #680 from lioncash/fakepoll-removal
Remove fakepoll.h
Diffstat (limited to 'Source/Core/AudioCommon')
-rw-r--r--Source/Core/AudioCommon/stdafx.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/Source/Core/AudioCommon/stdafx.h b/Source/Core/AudioCommon/stdafx.h
index 37663533a9..7257e555ab 100644
--- a/Source/Core/AudioCommon/stdafx.h
+++ b/Source/Core/AudioCommon/stdafx.h
@@ -3,14 +3,13 @@
// Refer to the license.txt file included.
#pragma once
-/*
-#ifdef HAVE_DXSDK_JUNE_2010
-#define _WIN32_WINNT 0x501
-#else
-#pragma message("Resulting binary will be compatible with DirectX >= Windows 8. Install the June 2010 DirectX SDK if you want to build for older environments.")
-#define _WIN32_WINNT 0x602
-#endif
-*/
+
+// Windows Vista is the lowest version we support
+// BUT We need to use the headers for Win8+ XAudio2, so Win8 version is used here.
+// The XAudio2 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