diff options
author | Eric Wong <normalperson@yhbt.net> | 2007-01-14 04:25:27 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2007-01-14 04:25:27 +0000 |
commit | 5220c2c99165899c36145a2fca6b84b7880a777b (patch) | |
tree | 0232c24e23e52d181a37539c57658d8410756085 /src | |
parent | 2c01b285c1232dc1127359bed0c49fd969aaf79f (diff) | |
download | mpd-5220c2c99165899c36145a2fca6b84b7880a777b.tar.gz mpd-5220c2c99165899c36145a2fca6b84b7880a777b.tar.xz mpd-5220c2c99165899c36145a2fca6b84b7880a777b.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/zeroconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <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 ); |