diff options
Diffstat (limited to 'pthread_support.c')
-rw-r--r-- | pthread_support.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pthread_support.c b/pthread_support.c index 27437bb0..b0f1a1bd 100644 --- a/pthread_support.c +++ b/pthread_support.c @@ -35,7 +35,8 @@ # ifndef GC_WIN32_PTHREADS # include <unistd.h> # endif -# ifdef GC_DARWIN_THREADS +# if defined(GC_DARWIN_THREADS) \ + || (defined(GC_WIN32_THREADS) && defined(EMULATE_PTHREAD_SEMAPHORE)) # include "private/darwin_semaphore.h" # elif !defined(SN_TARGET_ORBIS) && !defined(SN_TARGET_PSP2) # include <semaphore.h> |