Skip to content

Commit 53d0ddf

Browse files
committed
remove macos support. Lennart will add it himself
1 parent 8b344ad commit 53d0ddf

3 files changed

Lines changed: 7 additions & 107 deletions

File tree

src/runtime/unix/config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@
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

src/runtime/unix/io_poll_impl.c

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@
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

src/runtime/unix/io_poll_kqueue.c

Lines changed: 0 additions & 98 deletions
This file was deleted.

0 commit comments

Comments
 (0)