Bruno Jesus : ws2_32: Only declare IPX support if the required definitions are found.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jul 3 12:54:49 CDT 2014
Module: wine
Branch: master
Commit: 543314d449ad0de1e5e3703f8091e5c594e922db
URL: http://source.winehq.org/git/wine.git/?a=commit;h=543314d449ad0de1e5e3703f8091e5c594e922db
Author: Bruno Jesus <00cpxxx at 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
More information about the wine-cvs
mailing list