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

Paolo Bonzini pbonzini at redhat.com
Wed Mar 31 13:25:44 UTC 2010


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




More information about the libvir-list mailing list