aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/shout_ogg.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/shout_ogg.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 'src/output/shout_ogg.c')
-rw-r--r--src/output/shout_ogg.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/output/shout_ogg.c b/src/output/shout_ogg.c
index 248ffd1e8..441093e90 100644
--- a/src/output/shout_ogg.c
+++ b/src/output/shout_ogg.c
@@ -17,10 +17,8 @@
*/
#include "shout_plugin.h"
-
-#ifdef HAVE_SHOUT_OGG
-
#include "../utils.h"
+
#include <vorbis/vorbisenc.h>
struct ogg_vorbis_data {
@@ -302,5 +300,3 @@ const struct shout_encoder_plugin shout_ogg_encoder = {
shout_ogg_encoder_init_encoder,
shout_ogg_encoder_send_metadata,
};
-
-#endif