From 5220c2c99165899c36145a2fca6b84b7880a777b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 14 Jan 2007 04:25:27 +0000 Subject: 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 --- src/zeroconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/zeroconf.c') diff --git a/src/zeroconf.c b/src/zeroconf.c index 7ae6dfecd..1e2e0eb5f 100644 --- a/src/zeroconf.c +++ b/src/zeroconf.c @@ -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 #include @@ -477,7 +477,7 @@ void initZeroconf(void) void finishZeroconf(void) { -#if HAVE_AVAHI +#ifdef HAVE_AVAHI DEBUG( "Avahi: Shutting down interface\n" ); deregisterIO( &avahiIo ); -- cgit v1.2.3