Bruno Jesus : ws2_32: Only declare IPX support if the required definitions are found.
Module: wine Branch: master Commit: 543314d449ad0de1e5e3703f8091e5c594e922db URL: http://source.winehq.org/git/wine.git/?a=commit;h=543314d449ad0de1e5e3703f80... Author: Bruno Jesus <00cpxxx(a)gmail.com> Date: Thu Jul 3 01:01:53 2014 -0300 ws2_32: Only declare IPX support if the required definitions are found. --- dlls/ws2_32/socket.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c index e1d0ce5..0e738f1 100644 --- a/dlls/ws2_32/socket.c +++ b/dlls/ws2_32/socket.c @@ -100,7 +100,6 @@ #ifdef HAVE_NETIPX_IPX_H # include <netipx/ipx.h> -# define HAS_IPX #elif defined(HAVE_LINUX_IPX_H) # ifdef HAVE_ASM_TYPES_H # include <asm/types.h> @@ -109,6 +108,8 @@ # include <linux/types.h> # endif # include <linux/ipx.h> +#endif +#if defined(SOL_IPX) || defined(SO_DEFAULT_HEADERS) # define HAS_IPX #endif
participants (1)
-
Alexandre Julliard