mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Fix build on MinGW (as compared to Linux)
This commit is contained in:
parent
601d1936c9
commit
77621568fd
@ -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}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user