aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-25 17:19:42 +0100
committerMax Kellermann <max@duempel.org>2008-11-25 17:19:42 +0100
commit125dad7119160932b925eeec5ceefc847392919e (patch)
tree2dbe73849590d6f7326fc6aad1c2ec3f63439fc2
parentfd1144145caaefee0a5c5fdfe18508e0dc2c77cc (diff)
downloadmpd-125dad7119160932b925eeec5ceefc847392919e.tar.gz
mpd-125dad7119160932b925eeec5ceefc847392919e.tar.xz
mpd-125dad7119160932b925eeec5ceefc847392919e.zip
shout: don't check HAVE_SHOUT
If the shout plugin is disabled, shout_plugin.c isn't compiled at all, no need to check the macro definition.
-rw-r--r--src/output/shout_plugin.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/output/shout_plugin.c b/src/output/shout_plugin.c
index a948e19dc..a74dc6929 100644
--- a/src/output/shout_plugin.c
+++ b/src/output/shout_plugin.c
@@ -18,8 +18,6 @@
#include "shout_plugin.h"
-#ifdef HAVE_SHOUT
-
#include "../utils.h"
#include <assert.h>
@@ -582,8 +580,3 @@ const struct audio_output_plugin shoutPlugin = {
.close = my_shout_close_device,
.send_tag = my_shout_set_tag,
};
-
-#else
-
-DISABLED_AUDIO_OUTPUT_PLUGIN(shoutPlugin)
-#endif