[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libvir] [PATCH] Avoid compile failure when HAVE_AVAHI is not defined.



Jim Meyering <jim meyering net> wrote:
> Without this patch, building without HAVE_AVAHI fails due to an unguarded
> use of mdns_name.  Rather than adding yet another #ifdef..#endif (ugly
> and less maintainable), I've chosen to un-ifdef the declarations and
> a few uses.  The more code that we compile and use unconditionally,
> the fewer surprises we'll encounter down the road.
>
> Mon Dec  3 14:24:20 CET 2007 Jim Meyering <meyering redhat com>
>
> 	Avoid compile failure when HAVE_AVAHI is not defined.
> 	* qemud/qemud.c (remoteReadConfigFile): Remove some of the
> 	"#ifdef HAVE_AVAHI" guards around uses of mdns_name and mdns_adv.

FYI, after some off-list discussion, there are no more objections
to this patch, so I've committed it.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]