From: Marko Kreen Date: Fri, 4 Jan 2013 22:53:20 +0000 (+0200) Subject: pthread: missing HAVE_PTHREAD_H check X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=25430b9d6ba740d33a59db255f30ef7fe9217ee8;p=libusual.git pthread: missing HAVE_PTHREAD_H check --- diff --git a/usual/pthread.c b/usual/pthread.c index ca1cb75..c0e6ff8 100644 --- a/usual/pthread.c +++ b/usual/pthread.c @@ -19,6 +19,7 @@ #include +#ifndef HAVE_PTHREAD_H #ifdef WIN32 /* * basic pthreads for win32. @@ -90,4 +91,4 @@ int pthread_mutex_unlock(pthread_mutex_t *lock) } #endif /* win32 */ - +#endif /* !HAVE_PTHREAD_H */