29 Jan
2024
29 Jan
'24
10:53 a.m.
On Mon Jan 29 10:05:59 2024 +0000, Alexandre Julliard wrote:
Why do you need a compile check? Is the prototype different on other platforms? The prototype is slightly different on darwin with `int setpriority(int which, id_t who, int prio);`, where `id_t` is typedefed to `__darwin_id_t` and then `__uint32_t`.
In any case it would still pass the check, but still cannot be used for per-thread priorities there. This function seems fairly ubiquitous since BSD 4.2 and is currently used only in the linux context, so I guess this can be safely removed. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4551#note_59335