diff options
author | David CARLIER <devnexen@gmail.com> | 2020-09-09 18:12:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-09 19:12:03 +0200 |
commit | 62913b872ea1b21a5aada55ed323476fbcea61dc (patch) | |
tree | 6815ec0d5d242459486aeb5a406ce955eb85b09e /src/client/sound_openal.cpp | |
parent | 0d128ab344e3d04d2b30dbd5e047f4ac700013b7 (diff) | |
download | minetest-62913b872ea1b21a5aada55ed323476fbcea61dc.tar.gz minetest-62913b872ea1b21a5aada55ed323476fbcea61dc.tar.bz2 minetest-62913b872ea1b21a5aada55ed323476fbcea61dc.zip |
Darwin platform build fix (#10376)
the event header seemingly being generic with libevent thus renaming it.
openal and opengl are deprecated on newer mac os releases thus suppressing the build warnings.
Diffstat (limited to 'src/client/sound_openal.cpp')
-rw-r--r-- | src/client/sound_openal.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/sound_openal.cpp b/src/client/sound_openal.cpp index c1c916e68..f4e61f93e 100644 --- a/src/client/sound_openal.cpp +++ b/src/client/sound_openal.cpp @@ -28,6 +28,7 @@ with this program; ifnot, write to the Free Software Foundation, Inc., #include <alc.h> //#include <alext.h> #elif defined(__APPLE__) + #define OPENAL_DEPRECATED #include <OpenAL/al.h> #include <OpenAL/alc.h> //#include <OpenAL/alext.h> |