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.