Commit 543314d4 authored by Bruno Jesus's avatar Bruno Jesus Committed by Alexandre Julliard

ws2_32: Only declare IPX support if the required definitions are found.

parent dc115a2c
...@@ -100,7 +100,6 @@ ...@@ -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 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment