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
handletable.c
heap.c ntdll: Match Windows used block filling. 2023-07-27 13:12:06 +09:00
large_int.c
loader.c
locale.c
locale_private.h
make_errors
Makefile.in
math.c
misc.c
ntdll.spec ntdll: Implement RtlWow64GetSharedInfoProcess(). 2023-07-11 18:34:17 +02:00
ntdll_misc.h
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
rtl.c
rtlbitmap.c
rtlstr.c
sec.c
signal_arm.c
signal_arm64.c
signal_i386.c
signal_x86_64.c
string.c
sync.c
thread.c
threadpool.c
time.c
unixlib.h
version.c
version.rc
wcstring.c