From be99b48216a976579f7cea0610d0d1209beb6f21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Sat, 16 Jan 2016 15:48:27 +0100 Subject: [PATCH] Don't compile EpollEventDriver outside of Linux. --- source/eventcore/epoll.d | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/eventcore/epoll.d b/source/eventcore/epoll.d index acfc598..a4da4eb 100644 --- a/source/eventcore/epoll.d +++ b/source/eventcore/epoll.d @@ -1,6 +1,8 @@ module eventcore.epoll; @safe: /*@nogc:*/ nothrow: +version (linux): + public import eventcore.posix; import eventcore.internal.utils;