On Tue Jul 25 13:31:47 2023 +0000, Jinoh Kang wrote:
Commit 41cc117b3f37ab4b9b4ac8a815cd2a496d38fb4b is from MR !2965, which fixes building with bionic libc:
4.18+ Linux kernels remove support for IPX but keep SOL_IPX defined,
which causes compilation errors as wine unconditionally uses IPX structures if this is the case. Instead check for IPX_MTU to determine IPX support as it is defined within the ipx.h header itself. Maybe the check can be made stricter in a way that allows both musl and bionic. Alternatively, we can just test for `struct sockaddr_ipx` in autoconf.
Hmmm we could modify the macros in place by replacing "#else"(line 1884) with "#elif defined(SO_DEFAULT_HEADERS)"
That way musl would work too, what do you think?