From ed5595f792b4e6c5e1eb785870b82a5988c109d2 Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Thu, 27 Oct 2022 18:26:32 -0700 Subject: Add a stub for io_darwin on linux cc @sno2 hopefully this helps but i'm not sure --- src/io/io_darwin.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/io/io_darwin.cpp') 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 -- cgit v1.2.3