From 247313174a93d4b222cd15ef3f80428fc3e789a6 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 9 Nov 2013 01:15:17 -0800 Subject: [PATCH] Updated notes about building with the Windows 8 SDK: Get the DirectX SDK. --- src/audio/xaudio2/SDL_xaudio2.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/audio/xaudio2/SDL_xaudio2.c b/src/audio/xaudio2/SDL_xaudio2.c index 557c3bb9a..504a4204b 100644 --- a/src/audio/xaudio2/SDL_xaudio2.c +++ b/src/audio/xaudio2/SDL_xaudio2.c @@ -32,7 +32,11 @@ /* The configure script already did any necessary checking */ # define SDL_XAUDIO2_HAS_SDK 1 #else -#include /* XAudio2 exists as of the March 2008 DirectX SDK */ +/* XAudio2 exists as of the March 2008 DirectX SDK + The XAudio2 implementation available in the Windows 8 SDK targets Windows 8 and newer. + If you want to build SDL with XAudio2 support you should install the DirectX SDK. + */ +#include #if (!defined(_DXSDK_BUILD_MAJOR) || (_DXSDK_BUILD_MAJOR < 1284)) # pragma message("Your DirectX SDK is too old. Disabling XAudio2 support.") #else