Re: Fix cygwin build

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

 



On 03/08/2011 01:07 AM, Daniel Veillard wrote:
>   In virLogEmergencyDumpAll I was using SIGBUS and SIGUSR2, and
> apparently they arent; defined on cygwin signal.h header.

Huh?  Cygwin has all 32 traditional Unix signals, including SIGBUS and
SIGUSR2; it's only flaw is that it lacks the POSIX-required minimum of 8
real-time signals (on cygwin, SIGRTMIN==SIGRTMAX).  To my knowledge,
mingw is the only modern porting target that lacks signals not required
by C99.

> I decided to
> make the code conditional for all of them and not just those two for
> portability sake. I resisted doing this on the daemon side because as
> far as I know we don't compile it on WIN32. So I just pushed the
> following under the build breaking rule,

Well, it does fix mingw; so it was only the subject line that was
misleading.  :)

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]