From 77621568fd25c418f74518761fcdbd05f8c214d1 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 24 Mar 2012 23:16:09 +0200 Subject: Fix build on MinGW (as compared to Linux) --- src/CMakeLists.txt | 2 +- src/sound_openal.cpp | 4 ++-- 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 #include - #include + //#include #elif defined(__APPLE__) #include #include -- cgit v1.2.3