summaryrefslogtreecommitdiff
path: root/pthread_support.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2022-12-30 20:59:24 +0300
committerIvan Maidanski <ivmai@mail.ru>2022-12-30 20:59:24 +0300
commitc0d8ed6209df01a5c22ca16082f9ba073c1c4c4e (patch)
tree32208cf5c9b2ead2d605467c81d154dce219a7f1 /pthread_support.c
parent97a45c6e245b3214d2686d2f3b191e70f5c90c97 (diff)
downloadbdwgc-c0d8ed6209df01a5c22ca16082f9ba073c1c4c4e.tar.gz
Do not include semaphore.h from pthread_support.c on Orbis and Sony PSP
(fix of commit d171840b9) * pthread_support.c [GC_PTHREADS && !GC_DARWIN_THREADS]: Do not include semaphore.h if SN_TARGET_ORBIS or SN_TARGET_PSP2.
Diffstat (limited to 'pthread_support.c')
-rw-r--r--pthread_support.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread_support.c b/pthread_support.c
index 73efddfc..e54014e8 100644
--- a/pthread_support.c
+++ b/pthread_support.c
@@ -37,7 +37,7 @@
# endif
# ifdef GC_DARWIN_THREADS
# include "private/darwin_semaphore.h"
-# else
+# elif !defined(SN_TARGET_ORBIS) && !defined(SN_TARGET_PSP2)
# include <semaphore.h>
# endif
#endif /* GC_PTHREADS */