diff options
author | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-05-13 12:18:43 +0000 |
---|---|---|
committer | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-05-13 12:18:43 +0000 |
commit | fdc20842602910fe3dd4026bb1dd6a67020f6fb3 (patch) | |
tree | a07c9dc3dfff74db765a887a587242c85198a235 /code | |
parent | cdda65c3ad30d7a01e75f18a7a470bc8cbb3a6b6 (diff) | |
download | ioquake3-aero-fdc20842602910fe3dd4026bb1dd6a67020f6fb3.tar.gz ioquake3-aero-fdc20842602910fe3dd4026bb1dd6a67020f6fb3.zip |
Corrected #include directives of openal headers for MSVC.
git-svn-id: svn://svn.icculus.org/quake3/trunk@779 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code')
-rw-r--r-- | code/client/qal.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/code/client/qal.h b/code/client/qal.h index b9eb2fd..b0f778c 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 <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 |