From 25430b9d6ba740d33a59db255f30ef7fe9217ee8 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Sat, 5 Jan 2013 00:53:20 +0200 Subject: [PATCH] pthread: missing HAVE_PTHREAD_H check --- usual/pthread.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- 2.39.5