aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/io/io_darwin.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/io/io_darwin.cpp b/src/io/io_darwin.cpp
index 74a763812..fff41d373 100644
--- a/src/io/io_darwin.cpp
+++ b/src/io/io_darwin.cpp
@@ -62,4 +62,16 @@ extern "C" bool io_darwin_schedule_wakeup(mach_port_t waker) {
return true;
}
+#else
+
+// stub out these symbols
+extern "C" int io_darwin_create_machport(unsigned long long wakeup, int fd,
+ void *wakeup_buffer_,
+ unsigned long long nbytes) {
+ return 0;
+}
+
+// stub out these symbols
+extern "C" bool io_darwin_schedule_wakeup(void *waker) { return false; }
+
#endif \ No newline at end of file