[PATCH] ntdll: Only build Linux-specific functions on Linux

Gerald Pfeifer gerald at pfeifer.com
Sun Dec 13 15:16:12 CST 2020


On Tue, 8 Dec 2020, Alexandre Julliard wrote:
>> logical_proc_info_add_by_id, logical_proc_info_add_cache,
>> logical_proc_info_add_group, and logical_proc_info_add_numa_node
>> are only useful and invoked on Linux, so disable their build
>> elsewhere.
> They are also used on macOS. A better fix would be to implement the
> missing functionality for *BSD platforms.

Hmm, that's true.  Until that happens, would you consider a patch

  #if defined(linux) || defined(__APPLE__)

instead?

(Damjan, maybe that's something for you? We're talking about
dlls/ntdll/unix/system.c.)

Thanks,
Gerald



More information about the wine-devel mailing list