The latest patch broke things for non OS X

This commit is contained in:
Tomas Lindquist Olsen
2008-08-29 16:35:46 +02:00
parent 01b6538f6f
commit 6b423621d2
2 changed files with 2 additions and 2 deletions

View File

@@ -81,7 +81,7 @@ void _STD_critical_term()
#include <stdlib.h>
#include <pthread.h>
#ifndef HAVE_PTHREAD_MUTEX_RECURSIVE
#if __APPLE__
#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
#endif

View File

@@ -127,7 +127,7 @@ void _d_monitor_unlock(Object *h)
#if USE_PTHREADS
#ifndef HAVE_PTHREAD_MUTEX_RECURSIVE
#if __APPLE__
#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
#endif