summaryrefslogtreecommitdiff
path: root/drivers/unix/semaphore_posix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/unix/semaphore_posix.cpp')
-rw-r--r--drivers/unix/semaphore_posix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/semaphore_posix.cpp b/drivers/unix/semaphore_posix.cpp
index 5aa51d77d1..fc2d5b0dfe 100644
--- a/drivers/unix/semaphore_posix.cpp
+++ b/drivers/unix/semaphore_posix.cpp
@@ -30,7 +30,7 @@
#include "semaphore_posix.h"
-#if defined(UNIX_ENABLED) || defined(PTHREAD_ENABLED)
+#if (defined(UNIX_ENABLED) || defined(PTHREAD_ENABLED)) && !defined(OSX_ENABLED) && !defined(IPHONE_ENABLED)
#include "core/os/memory.h"
#include <errno.h>