From ed8cd91cdd945edb988060e7275867c3f087e2c0 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Thu, 11 Apr 2024 09:22:20 -0400 Subject: [PATCH] #426 - different freebsd versions have extra arg and i want to add a deffault to it --- core.d | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core.d b/core.d index e492e74..e22e5dc 100644 --- a/core.d +++ b/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;