aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_list.h
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_list.h
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 'src/output_list.h')
-rw-r--r--src/output_list.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/output_list.h b/src/output_list.h
index d0fcf1285..1be0b8169 100644
--- a/src/output_list.h
+++ b/src/output_list.h
@@ -25,8 +25,6 @@ const struct audio_output_plugin *
audio_output_plugin_get(const char *name);
#define audio_output_plugins_for_each(plugin, i) \
- for (i = 0; (plugin = audio_output_plugins[i]) != NULL; ++i) \
- if (plugin->name != NULL)
-
+ for (i = 0; (plugin = audio_output_plugins[i]) != NULL; ++i)
#endif