mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:54:05 +00:00
915c391014
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:
|
||
---|---|---|
.. | ||
async.c | ||
atom.c | ||
change.c | ||
class.c | ||
clipboard.c | ||
completion.c | ||
console.c | ||
debugger.c | ||
device.c | ||
directory.c | ||
event.c | ||
fd.c | ||
file.c | ||
file.h | ||
handle.c | ||
handle.h | ||
hook.c | ||
mach.c | ||
mailslot.c | ||
main.c | ||
Makefile.in | ||
mapping.c | ||
mutex.c | ||
named_pipe.c | ||
object.c | ||
object.h | ||
process.c | ||
process.h | ||
procfs.c | ||
protocol.def | ||
ptrace.c | ||
queue.c | ||
region.c | ||
registry.c | ||
request.c | ||
request.h | ||
security.h | ||
semaphore.c | ||
serial.c | ||
signal.c | ||
sock.c | ||
symlink.c | ||
thread.c | ||
thread.h | ||
timer.c | ||
token.c | ||
trace.c | ||
unicode.c | ||
unicode.h | ||
user.c | ||
user.h | ||
window.c | ||
wineserver.de.UTF-8.man.in | ||
wineserver.fr.UTF-8.man.in | ||
wineserver.man.in | ||
winstation.c |