Re: [libvirt] [PATCH 14/15] Add HAVE_PTHREAD_H guard for pthread_sigmask

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

 



On 03/22/2010 02:25 AM, Matthias Bolte wrote:
Correctly disable pthread related code if pthread is not avialable,
in order to get it compile with MinGW on Windows.

What about, instead

#ifndef HAVE_PTHREAD_H
#define pthread_sigmask sigprocmask
#endif

(or actually the equivalent if...AC_DEFINE...fi in configure)?

Paolo

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