summaryrefslogtreecommitdiff
path: root/src/client/qal.h
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2006-05-16 20:50:00 +0000
committerTim Angus <tim@ngus.net>2006-05-16 20:50:00 +0000
commitbac6bec08fe63e12578c47809823cb7ee3016c44 (patch)
treed5e3b21c8d8063d2f9afc4eb71e7a7b427d91c81 /src/client/qal.h
parent5c0efda0ef811b2bafedb2b4f53b083a9b90e1b4 (diff)
* Merged ioq3-r783
* Added back the syscalls things I didn't mean to remove
Diffstat (limited to 'src/client/qal.h')
-rw-r--r--src/client/qal.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/client/qal.h b/src/client/qal.h
index 8592c081..7747d987 100644
--- a/src/client/qal.h
+++ b/src/client/qal.h
@@ -38,8 +38,14 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "../AL/al.h"
#include "../AL/alc.h"
#else
-#include <AL/al.h>
-#include <AL/alc.h>
+#ifdef _MSC_VER
+ // MSVC users must install the OpenAL SDK which doesn't use the AL/*.h scheme.
+ #include <al.h>
+ #include <alc.h>
+#else
+ #include <AL/al.h>
+ #include <AL/alc.h>
+#endif
#endif
#if USE_OPENAL_DLOPEN