avahi: use #ifdef instead of #if because AVAHI may not be defined at all
git-svn-id: https://svn.musicpd.org/mpd/trunk@5259 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
2c01b285c1
commit
5220c2c991
@ -35,7 +35,7 @@
|
||||
#define SERVICE_NAME "Music Player"
|
||||
|
||||
/* Here is the implementation for Avahi (http://avahi.org) Zeroconf support */
|
||||
#if HAVE_AVAHI
|
||||
#ifdef HAVE_AVAHI
|
||||
|
||||
#include <avahi-client/client.h>
|
||||
#include <avahi-client/publish.h>
|
||||
@ -477,7 +477,7 @@ void initZeroconf(void)
|
||||
|
||||
void finishZeroconf(void)
|
||||
{
|
||||
#if HAVE_AVAHI
|
||||
#ifdef HAVE_AVAHI
|
||||
DEBUG( "Avahi: Shutting down interface\n" );
|
||||
deregisterIO( &avahiIo );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user