mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-30 03:23:19 +01:00
Ok. last fix was wrong, PTHREAD_MUTEX_RECURSIVE_NP is only valid on linux...
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user