aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/oss_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-26 21:58:37 +0100
committerMax Kellermann <max@duempel.org>2008-10-26 21:58:37 +0100
commit0800c6f4ca36012b65e3cde825663adc1eafeae2 (patch)
tree5d0f24a02042c48a30d6b67920f77ef65e7e6215 /src/output/oss_plugin.c
parent3dac99034afe14e61554f327329c11d32962ae04 (diff)
downloadmpd-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/oss_plugin.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/output/oss_plugin.c b/src/output/oss_plugin.c
index 67ea11fe4..53d047101 100644
--- a/src/output/oss_plugin.c
+++ b/src/output/oss_plugin.c
@@ -20,9 +20,6 @@
*/
#include "../output_api.h"
-
-#ifdef HAVE_OSS
-
#include "../utils.h"
#include "../log.h"
@@ -564,8 +561,3 @@ const struct audio_output_plugin ossPlugin = {
.cancel = oss_dropBufferedAudio,
.close = oss_closeDevice,
};
-
-#else /* HAVE OSS */
-
-DISABLED_AUDIO_OUTPUT_PLUGIN(ossPlugin)
-#endif /* HAVE_OSS */