From 27df5fca31b5010ec52054980420136aba47dc9c Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Sat, 13 May 2006 12:18:43 +0000 Subject: [PATCH] Corrected #include directives of openal headers for MSVC. --- code/client/qal.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/code/client/qal.h b/code/client/qal.h index b9eb2fdb..b0f778ce 100644 --- a/code/client/qal.h +++ b/code/client/qal.h @@ -37,8 +37,14 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include "../AL/al.h" #include "../AL/alc.h" #else -#include -#include +#ifdef _MSC_VER + // MSVC users must install the OpenAL SDK which doesn't use the AL/*.h scheme. + #include + #include +#else + #include + #include +#endif #endif #if USE_OPENAL_DLOPEN