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

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



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


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