Ok. last fix was wrong, PTHREAD_MUTEX_RECURSIVE_NP is only valid on linux...

This commit is contained in:
Tomas Lindquist Olsen
2008-08-29 16:59:12 +02:00
parent 6b423621d2
commit 9310134dfc
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>
#if __APPLE__
#if !linux
#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
#endif

View File

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