Fix build on MinGW (as compared to Linux)

This commit is contained in:
Perttu Ahola 2012-03-24 23:16:09 +02:00
parent 601d1936c9
commit 77621568fd
2 changed files with 3 additions and 3 deletions

@ -235,7 +235,7 @@ include_directories(
${CMAKE_BUILD_TYPE} ${CMAKE_BUILD_TYPE}
${PNG_INCLUDE_DIR} ${PNG_INCLUDE_DIR}
${GETTEXT_INCLUDE_DIR} ${GETTEXT_INCLUDE_DIR}
${AUDIO_INLCUDE_DIRS} ${AUDIO_INCLUDE_DIRS}
${JTHREAD_INCLUDE_DIR} ${JTHREAD_INCLUDE_DIR}
${SQLITE3_INCLUDE_DIR} ${SQLITE3_INCLUDE_DIR}
${LUA_INCLUDE_DIR} ${LUA_INCLUDE_DIR}

@ -23,10 +23,10 @@ with this program; ifnot, write to the Free Software Foundation, Inc.,
#include "sound_openal.h" #include "sound_openal.h"
#if defined(_MSC_VER) #if defined(_WIN32)
#include <al.h> #include <al.h>
#include <alc.h> #include <alc.h>
#include <alext.h> //#include <alext.h>
#elif defined(__APPLE__) #elif defined(__APPLE__)
#include <OpenAL/al.h> #include <OpenAL/al.h>
#include <OpenAL/alc.h> #include <OpenAL/alc.h>