summaryrefslogtreecommitdiff
path: root/drivers/unix/semaphore_posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/unix/semaphore_posix.h')
-rw-r--r--drivers/unix/semaphore_posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/semaphore_posix.h b/drivers/unix/semaphore_posix.h
index 83e75c9a82..8aff01fc27 100644
--- a/drivers/unix/semaphore_posix.h
+++ b/drivers/unix/semaphore_posix.h
@@ -33,7 +33,7 @@
#include "core/os/semaphore.h"
-#if defined(UNIX_ENABLED) || defined(PTHREAD_ENABLED)
+#if (defined(UNIX_ENABLED) || defined(PTHREAD_ENABLED)) && !defined(OSX_ENABLED) && !defined(IPHONE_ENABLED)
#include <semaphore.h>