From ba418132cd04865d444f4da2b5553e4d83b18138 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sat, 9 Dec 2017 09:41:09 -0500 Subject: osdep: add poll shim for macOS This implements a poll-compatible interface, backed by select on macOS, suitable for polling on device files - which are not supported by macOS's implementation of poll. This is a (long-standing) bug in macOS, so hopefully we can eventually remove this shim. --- wscript_build.py | 1 + 1 file changed, 1 insertion(+) (limited to 'wscript_build.py') diff --git a/wscript_build.py b/wscript_build.py index e649913626..2358de7c4a 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -476,6 +476,7 @@ def build(ctx): ( "osdep/timer.c" ), ( timer_c ), ( "osdep/threads.c" ), + ( "osdep/polldev.c", "posix" ), ( "osdep/ar/HIDRemote.m", "apple-remote" ), ( "osdep/macosx_application.m", "cocoa" ), -- cgit v1.2.3