diff options
author | Max Kellermann <max@duempel.org> | 2008-10-26 21:58:37 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-26 21:58:37 +0100 |
commit | 0800c6f4ca36012b65e3cde825663adc1eafeae2 (patch) | |
tree | 5d0f24a02042c48a30d6b67920f77ef65e7e6215 /src/output/osx_plugin.c | |
parent | 3dac99034afe14e61554f327329c11d32962ae04 (diff) | |
download | mpd-0800c6f4ca36012b65e3cde825663adc1eafeae2.tar.gz mpd-0800c6f4ca36012b65e3cde825663adc1eafeae2.tar.xz mpd-0800c6f4ca36012b65e3cde825663adc1eafeae2.zip |
output: don't compile plugins which are disabled
Don't compile the sources of disabled output plugins at all.
Diffstat (limited to '')
-rw-r--r-- | src/output/osx_plugin.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/output/osx_plugin.c b/src/output/osx_plugin.c index 65060cc8c..a3f67fa68 100644 --- a/src/output/osx_plugin.c +++ b/src/output/osx_plugin.c @@ -17,14 +17,11 @@ */ #include "../output_api.h" - -#ifdef HAVE_OSX - -#include <AudioUnit/AudioUnit.h> - #include "../utils.h" #include "../log.h" +#include <AudioUnit/AudioUnit.h> + typedef struct _OsxData { AudioUnit au; pthread_mutex_t mutex; @@ -361,8 +358,3 @@ const struct audio_output_plugin osxPlugin = { .cancel = osx_dropBufferedAudio, .close = osx_closeDevice, }; - -#else - -DISABLED_AUDIO_OUTPUT_PLUGIN(osxPlugin) -#endif |