aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-24 23:16:09 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-24 23:16:09 +0200
commit77621568fd25c418f74518761fcdbd05f8c214d1 (patch)
treef28699a18b52829f2e7b30ecf650fd792a3148dd /src
parent601d1936c9ab4787d43f55d67900ed7c46fd3452 (diff)
downloadminetest-77621568fd25c418f74518761fcdbd05f8c214d1.tar.gz
minetest-77621568fd25c418f74518761fcdbd05f8c214d1.tar.bz2
minetest-77621568fd25c418f74518761fcdbd05f8c214d1.zip
Fix build on MinGW (as compared to Linux)
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/sound_openal.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c852d5b0a..4807e871c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -235,7 +235,7 @@ include_directories(
${CMAKE_BUILD_TYPE}
${PNG_INCLUDE_DIR}
${GETTEXT_INCLUDE_DIR}
- ${AUDIO_INLCUDE_DIRS}
+ ${AUDIO_INCLUDE_DIRS}
${JTHREAD_INCLUDE_DIR}
${SQLITE3_INCLUDE_DIR}
${LUA_INCLUDE_DIR}
diff --git a/src/sound_openal.cpp b/src/sound_openal.cpp
index 26ad6fa4c..6f9ff3bd6 100644
--- a/src/sound_openal.cpp
+++ b/src/sound_openal.cpp
@@ -23,10 +23,10 @@ with this program; ifnot, write to the Free Software Foundation, Inc.,
#include "sound_openal.h"
-#if defined(_MSC_VER)
+#if defined(_WIN32)
#include <al.h>
#include <alc.h>
- #include <alext.h>
+ //#include <alext.h>
#elif defined(__APPLE__)
#include <OpenAL/al.h>
#include <OpenAL/alc.h>