18 Oct
2023
18 Oct
'23
6:59 p.m.
Brendan Shanks (@bshanks) commented about dlls/ntdll/unix/sync.c:
if (!entry) return STATUS_INVALID_CID;
-#ifdef __APPLE__ - semaphore_signal( entry->sem ); +#ifdef HAVE_KQUEUE + static const struct kevent signal_event =
This triggers a `mixing declarations and code` warning, I would put the whole `HAVE_KQUEUE` block inside braces. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4049#note_49186