Commit 0ea5f4ac authored by Lukas Stabe's avatar Lukas Stabe Committed by Max Kellermann

output/openal: check __APPLE__ instead of HAVE_OSX

On OSX, the configure-flag --enable-osx is used to enable the unsupported osx output. It sets the HAVE_OSX preprocessor define. src/output/OpenALOutputPlugin.cxx uses this define to determine wether it is building on OSX, and imports different headers (which have nothing to do with the osx output) depending on wether or not it is set.
parent 47c50c07
......@@ -25,7 +25,7 @@
#include <glib.h>
#ifndef HAVE_OSX
#ifndef __APPLE__
#include <AL/al.h>
#include <AL/alc.h>
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment