summaryrefslogtreecommitdiffstats
path: root/drivers/unix/semaphore_posix.cpp
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2019-10-24 17:34:18 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2019-10-24 20:37:56 +0300
commit7b64340eb008a11000518b9a15f15c673c7f2f25 (patch)
treedbc6b4fe838aadee91bbad208f9af153756e4d1d /drivers/unix/semaphore_posix.cpp
parent79dae3a87e1c8a66897fc1816059f39c8f25cde4 (diff)
downloadredot-engine-7b64340eb008a11000518b9a15f15c673c7f2f25.tar.gz
Fix compilation warnings in macOS build, enable `warnings=extra werror=yes` for macOS CI.
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>