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

2010-03-31 Thread Paolo Bonzini
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

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

2010-03-22 Thread Daniel P. Berrange
On Mon, Mar 22, 2010 at 02:25:44AM +0100, Matthias Bolte wrote: Correctly disable pthread related code if pthread is not avialable, in order to get it compile with MinGW on Windows. --- src/remote/remote_driver.c |6 ++ src/util/util.c| 10 ++ 2 files changed,

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

2010-03-22 Thread Matthias Bolte
2010/3/22 Daniel P. Berrange berra...@redhat.com: On Mon, Mar 22, 2010 at 02:25:44AM +0100, Matthias Bolte wrote: Correctly disable pthread related code if pthread is not avialable, in order to get it compile with MinGW on Windows. ---  src/remote/remote_driver.c |    6 ++  

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

2010-03-21 Thread Matthias Bolte
Correctly disable pthread related code if pthread is not avialable, in order to get it compile with MinGW on Windows. --- src/remote/remote_driver.c |6 ++ src/util/util.c| 10 ++ 2 files changed, 16 insertions(+), 0 deletions(-) diff --git