Sweden-Number/dlls/ntdll/unix
Gerald Pfeifer 59da79021a ntdll: Only use sysinfo function when present.
On some systems <sys/sysinfo.h> may be present while the sysinfo
function may not, or at least not as part of standard libraries,
so check whether the function is actually available before using
it.

This fixes builds on FreeBSD with the devel/libsysinfo present.

Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-11 23:00:50 +02:00
..
cdrom.c ntdll: Add inline wrappers for pthread mutex locking. 2020-09-22 11:28:25 +02:00
debug.c ntdll: Copy the implementation of __wine_dbg_output to the PE side. 2021-06-16 15:37:46 +02:00
env.c ntdll: Move the loading of the global options to the Unix side. 2021-08-04 11:45:51 +02:00
file.c ntdll: Set the I/O status block through the 32-bit pointer for Wow64 processes. 2021-08-05 23:11:20 +02:00
loader.c ntdll: Make __wine_unix_call() WINAPI to follow syscall conventions. 2021-08-11 23:00:49 +02:00
loadorder.c ntdll: Fix the check for the main exe in get_load_order(). 2021-05-06 18:12:37 +02:00
process.c ntdll: Set the I/O status block through the 32-bit pointer for Wow64 processes. 2021-08-05 23:11:20 +02:00
registry.c ntdll: Always clear the returned handle in Nt object functions. 2021-07-23 17:38:32 +02:00
security.c ntdll: Always clear the returned handle in Nt object functions. 2021-07-23 17:38:32 +02:00
serial.c ntdll: Set the I/O status block through the 32-bit pointer for Wow64 processes. 2021-08-05 23:11:20 +02:00
server.c ntdll: Set the I/O status block through the 32-bit pointer for Wow64 processes. 2021-08-05 23:11:20 +02:00
signal_arm.c ntdll: Add a helper function to retrieve the CPU area context on the Unix side. 2021-07-01 12:46:00 +02:00
signal_arm64.c ntdll: Fix arm64 call_user_exception_dispatcher with kernel stack for syscalls. 2021-07-26 19:42:25 +02:00
signal_i386.c ntdll: Add a helper function to retrieve the CPU area context on the Unix side. 2021-07-01 12:46:00 +02:00
signal_x86_64.c wow64cpu: Restore the full 32-bit context when changed externally. 2021-08-04 14:27:24 +02:00
socket.c ntdll: Add missing break to case IPV6_PKTINFO. 2021-08-06 10:40:35 +02:00
sync.c ntdll: Improve the Nt{Query,Set}TimerResolution() stubs. 2021-08-02 22:57:38 +02:00
system.c ntdll: Rename the SYSTEM_MODULE and SYSTEM_MODULE_INFORMATION structures. 2021-07-27 16:39:55 +02:00
tape.c ntdll: Move the device I/O control functions to the Unix library. 2020-06-16 18:36:30 +02:00
thread.c ntdll: Always clear the returned handle in Nt object functions. 2021-07-23 17:38:32 +02:00
unix_private.h ntdll: Load the Unix dll at the same time as the PE one, but don't map it yet. 2021-08-10 17:53:55 +02:00
virtual.c ntdll: Only use sysinfo function when present. 2021-08-11 23:00:50 +02:00