ws2_32: Only declare IPX support if the required definitions are found.
This commit is contained in:
parent
dc115a2c91
commit
543314d449
|
@ -100,7 +100,6 @@
|
||||||
|
|
||||||
#ifdef HAVE_NETIPX_IPX_H
|
#ifdef HAVE_NETIPX_IPX_H
|
||||||
# include <netipx/ipx.h>
|
# include <netipx/ipx.h>
|
||||||
# define HAS_IPX
|
|
||||||
#elif defined(HAVE_LINUX_IPX_H)
|
#elif defined(HAVE_LINUX_IPX_H)
|
||||||
# ifdef HAVE_ASM_TYPES_H
|
# ifdef HAVE_ASM_TYPES_H
|
||||||
# include <asm/types.h>
|
# include <asm/types.h>
|
||||||
|
@ -109,6 +108,8 @@
|
||||||
# include <linux/types.h>
|
# include <linux/types.h>
|
||||||
# endif
|
# endif
|
||||||
# include <linux/ipx.h>
|
# include <linux/ipx.h>
|
||||||
|
#endif
|
||||||
|
#if defined(SOL_IPX) || defined(SO_DEFAULT_HEADERS)
|
||||||
# define HAS_IPX
|
# define HAS_IPX
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue