check HAVE_SHOUT
git-svn-id: https://svn.musicpd.org/mpd/trunk@2287 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
41e81dbca0
commit
8502eeee6e
@ -16,6 +16,10 @@
|
|||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "../config.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_SHOUT
|
||||||
|
|
||||||
#include "audioOutput.h"
|
#include "audioOutput.h"
|
||||||
#include "conf.h"
|
#include "conf.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
@ -189,3 +193,19 @@ AudioOutputPlugin shoutPlugin =
|
|||||||
shout_play,
|
shout_play,
|
||||||
shout_closeDevice
|
shout_closeDevice
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
AudioOutputPlugin shoutPlugin =
|
||||||
|
{
|
||||||
|
"shout",
|
||||||
|
NULL,
|
||||||
|
NULL,
|
||||||
|
NULL,
|
||||||
|
NULL,
|
||||||
|
NULL
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user