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.
This commit is contained in:
parent
fd1144145c
commit
125dad7119
|
@ -18,8 +18,6 @@
|
||||||
|
|
||||||
#include "shout_plugin.h"
|
#include "shout_plugin.h"
|
||||||
|
|
||||||
#ifdef HAVE_SHOUT
|
|
||||||
|
|
||||||
#include "../utils.h"
|
#include "../utils.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
@ -582,8 +580,3 @@ const struct audio_output_plugin shoutPlugin = {
|
||||||
.close = my_shout_close_device,
|
.close = my_shout_close_device,
|
||||||
.send_tag = my_shout_set_tag,
|
.send_tag = my_shout_set_tag,
|
||||||
};
|
};
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
DISABLED_AUDIO_OUTPUT_PLUGIN(shoutPlugin)
|
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in New Issue