Linux: make `Epoll` available on Android (#1621)
Android is sufficiently Linux-esque that it should be able to use `Epoll`.
This commit is contained in:
parent
a0f6a48ec0
commit
cf6f2b1807
|
@ -16,7 +16,7 @@
|
|||
// only on Linux, or things that have Linux-specific extensions.
|
||||
import CNIOLinux
|
||||
|
||||
#if os(Linux)
|
||||
#if os(Linux) || os(Android)
|
||||
internal enum TimerFd {
|
||||
public static let TFD_CLOEXEC = CNIOLinux.TFD_CLOEXEC
|
||||
public static let TFD_NONBLOCK = CNIOLinux.TFD_NONBLOCK
|
||||
|
|
Loading…
Reference in New Issue