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

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

 



Jim Meyering <jim@xxxxxxxxxxxx> 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@xxxxxxxxxx>
>
> 	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.

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]