1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00
wine/dlls/ntdll
Jinoh Kang 14d4a896bd ntdll: Avoid relying on linux/ipx.h to define SOL_IPX.
musl libc doesn't supply any definitions for IPX, such as the SOL_IPX
macro.  However, it still provides linux/ipx.h from Linux uAPI header
files if it exists.

Linux kernel wouldn't drop linux/ipx.h from uAPI headers until 5.15,
although IPX support has already been marked obsolete since 2018.

Fix this by not defining HAS_IPX if linux/ipx.h has been included but
nothing defines the SOL_IPX macro.

Status of IPX support from other libcs are noted below:

- bionic: netipx/ipx.h does not exist.  linux/ipx.h may or may not
  exist.  Note that sys/socket.h defines SOL_IPX even if linux/ipx.h is
  missing.

- glibc: netipx/ipx.h exists.  In this case, Wine assumes IPX support
  even if the operating system does not support it in runtime.

- BSD variants: netipx/ipx.h may or may not exist.  linux/ipx.h does not
  exist.  Some BSDs supply SO_DEFAULT_HEADERS instead of SOL_IPX.

Fixes: 954bf9e050
2023-08-05 10:45:04 +09:00
..
tests ntdll/tests: Fix the basic file informations failure messages. 2023-07-31 18:26:50 +09:00
unix ntdll: Avoid relying on linux/ipx.h to define SOL_IPX. 2023-08-05 10:45:04 +09:00
actctx.c ntdll: Fail loudly if RtlActivateActivationContextEx fails to allocate memory. 2023-07-13 23:42:46 +02:00
atom.c
crypt.c
debugbuffer.c
env.c
error.c
error.h
exception.c ntdll: Don't define stdcall functions on non-i386. 2023-06-14 18:53:36 +02:00
handletable.c
heap.c ntdll: Match Windows used block filling. 2023-07-27 13:12:06 +09:00
large_int.c
loader.c ntdll: Implement _errno(). 2023-06-21 18:15:43 +02:00
locale_private.h
locale.c ntdll: Use nameless unions/structs for loader data. 2023-05-30 12:12:09 +02:00
make_errors
Makefile.in ntdll: Use the sin() implementation from the bundled musl library. 2023-04-11 22:22:18 +02:00
math.c ntdll: Use the fabs() implementation from the bundled musl library. 2023-04-11 22:22:18 +02:00
misc.c
ntdll_misc.h ntdll: Implement _errno(). 2023-06-21 18:15:43 +02:00
ntdll.spec ntdll: Implement RtlWow64GetSharedInfoProcess(). 2023-07-11 18:34:17 +02:00
path.c
printf.c
printf.h
process.c ntdll: Implement RtlWow64GetSharedInfoProcess(). 2023-07-11 18:34:17 +02:00
reg.c
relay.c
resource.c ntdll: Use nameless unions/structs for loader data. 2023-05-30 12:12:09 +02:00
rtl.c ntdll: Use nameless unions/structs for CPU-related data. 2023-05-30 12:12:09 +02:00
rtlbitmap.c ntdll: Reimplement RtlNumberOfSetBits() to check 32 bits at a time. 2023-04-22 17:34:32 +02:00
rtlstr.c
sec.c ntdll: Fix the prototype of NtDuplicateToken(). 2023-05-08 20:02:26 +02:00
signal_arm.c ntdll: Don't define stdcall functions on non-i386. 2023-06-14 18:53:36 +02:00
signal_arm64.c ntdll: Don't define stdcall functions on non-i386. 2023-06-14 18:53:36 +02:00
signal_i386.c ntdll: Print correct thread rename trace when using current thread ID with exception method. 2023-03-23 14:31:23 +01:00
signal_x86_64.c ntdll: Don't define stdcall functions on non-i386. 2023-06-14 18:53:36 +02:00
string.c
sync.c ntdll: Simplify critical section timeout logic. 2023-06-05 14:01:07 +02:00
thread.c ntdll: Implement RtlIsCurrentProcess/Thread. 2023-07-03 22:15:42 +02:00
threadpool.c ntdll: Use nameless unions/structs for IO_STATUS_BLOCK. 2023-05-30 12:12:09 +02:00
time.c ntdll: Use nameless unions/structs for CPU-related data. 2023-05-30 12:12:09 +02:00
unixlib.h
version.c
version.rc
wcstring.c