File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8686
8787/*
8888 * Enable non-blocking IO polling.
89- * Linux uses epoll; macOS uses kqueue (not yet implemented).
89+ * Linux uses epoll
9090 * The backend is selected in unix/io_poll_impl.c.
9191 */
92- #if defined(__linux__ ) || (defined( __APPLE__ ) && defined( __MACH__ ))
92+ #if defined(__linux__ )
9393#define MHS_IO_POLL 1
9494#else
9595#define MHS_IO_POLL 0
Original file line number Diff line number Diff line change 33 */
44
55/*
6- * Selects the platform-specific IO poll backend for Unix targets.
6+ * IO poll backend for Unix.
7+ *
8+ * Currently Linux only, using epoll. When a second implementation for MACOS is
9+ * available, do some tricks here to dispatch the correct one.
10+ *
711 */
812
9- #if defined(__linux__ )
1013#include "io_poll_epoll.c"
11- #elif defined(__APPLE__ ) && defined(__MACH__ )
12- #include "io_poll_kqueue.c"
13- #else
14- #error "No IO poll backend available for this platform"
15- #endif
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments