fix @safe
This commit is contained in:
parent
6286c7980d
commit
07b09e8692
|
@ -8,7 +8,8 @@ import eventcore.internal.utils : nogc_assert, mallocT, freeT;
|
|||
|
||||
|
||||
version (linux) {
|
||||
import core.sys.linux.sys.eventfd : eventfd, EFD_NONBLOCK, EFD_CLOEXEC;
|
||||
nothrow @nogc extern (C) int eventfd(uint initval, int flags);
|
||||
import core.sys.linux.sys.eventfd : EFD_NONBLOCK, EFD_CLOEXEC;
|
||||
}
|
||||
version (Posix) {
|
||||
import core.sys.posix.unistd : close, read, write;
|
||||
|
|
Loading…
Reference in a new issue