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:
parent
47c50c079d
commit
0ea5f4ac3a
@ -25,7 +25,7 @@
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#ifndef HAVE_OSX
|
||||
#ifndef __APPLE__
|
||||
#include <AL/al.h>
|
||||
#include <AL/alc.h>
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user