While #57 fixes the build for 10.6, it is not sufficient for 10.5, due to:
libdispatch does not exist in 10.5 and, unfortunately, does not build from source either, at least so far. Can mach semaphores be used as a fallback?
- 10.5 has no
NOTE_TRIGGER or EV_TRIGGER, and while the existing code provides a fallback for this case, it fails on macOS, since there is no pipe2. There was a similar issue elsewhere, which was solved by slightly changing the implementation: epoupon/lms@777c360