From 0ea5f4ac3a71e3b04672cd63f90206305330ef74 Mon Sep 17 00:00:00 2001 From: Lukas Stabe Date: Mon, 2 Dec 2013 13:08:03 +0100 Subject: 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. --- src/output/OpenALOutputPlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/output/OpenALOutputPlugin.cxx b/src/output/OpenALOutputPlugin.cxx index e753b206f..268cf17cc 100644 --- a/src/output/OpenALOutputPlugin.cxx +++ b/src/output/OpenALOutputPlugin.cxx @@ -25,7 +25,7 @@ #include -#ifndef HAVE_OSX +#ifndef __APPLE__ #include #include #else -- cgit v1.2.3