summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/semaphore.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/semaphore.cc b/src/semaphore.cc
index 5bca9af..8682a6e 100644
--- a/src/semaphore.cc
+++ b/src/semaphore.cc
@@ -95,6 +95,10 @@ bool Semaphore::wait(const std::chrono::milliseconds& timeout)
}
assert(ret == WAIT_OBJECT_0);
+#elif DG_PLATFORM == DG_PLATFORM_OSX
+
+ // TODO: sem_timedwait not implemented on OSX
+
#else
struct timespec ts;