mirror of https://github.com/adamdruppe/arsd.git
#426 - different freebsd versions have extra arg and i want to add a deffault to it
This commit is contained in:
parent
89252d46e4
commit
ed8cd91cdd
5
core.d
5
core.d
|
@ -129,6 +129,11 @@ version(Windows) {
|
|||
version=Arsd_core_kqueue;
|
||||
|
||||
import core.sys.freebsd.sys.event;
|
||||
|
||||
extern(D) void EV_SET(kevent_t* kevp, typeof(kevent_t.tupleof) args = kevent_t.tupleof.init)
|
||||
{
|
||||
*kevp = kevent_t(args);
|
||||
}
|
||||
} else version(DragonFlyBSD) {
|
||||
// NOT ACTUALLY TESTED
|
||||
version=Arsd_core_kqueue;
|
||||
|
|
Loading…
Reference in New Issue