diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-04-22 11:31:06 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-11-04 11:02:10 +0100 |
commit | 6fd304e5e6c8b386d3671f4932a74124fd37192a (patch) | |
tree | 0110c5339a4fe42276017f1fd74373baa1e25f22 /src/zeroconf.c | |
parent | d3018bfbb5f5712e6fe0f7ce534a362a0518d2c2 (diff) |
Switch from autotools to a custom build system adapted from Libav.
Diffstat (limited to 'src/zeroconf.c')
-rw-r--r-- | src/zeroconf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/zeroconf.c b/src/zeroconf.c index 4a399e4a..cd1c3fa7 100644 --- a/src/zeroconf.c +++ b/src/zeroconf.c @@ -51,11 +51,11 @@ void initZeroconf(void) serviceName = config_get_string(CONF_ZEROCONF_NAME, SERVICE_NAME); -#ifdef HAVE_AVAHI +#if HAVE_AVAHI init_avahi(serviceName); #endif -#ifdef HAVE_BONJOUR +#if HAVE_BONJOUR init_zeroconf_osx(serviceName); #endif } @@ -65,11 +65,11 @@ void finishZeroconf(void) if (!zeroconfEnabled) return; -#ifdef HAVE_AVAHI +#if HAVE_AVAHI avahi_finish(); #endif /* HAVE_AVAHI */ -#ifdef HAVE_BONJOUR +#if HAVE_BONJOUR bonjour_finish(); #endif } |