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.
This commit is contained in:
Lukas Stabe 2013-12-02 13:08:03 +01:00 committed by Max Kellermann
parent 47c50c079d
commit 0ea5f4ac3a

View File

@ -25,7 +25,7 @@
#include <glib.h>
#ifndef HAVE_OSX
#ifndef __APPLE__
#include <AL/al.h>
#include <AL/alc.h>
#else