Commit f3b01aa7 authored by Michael C. Maggio's avatar Michael C. Maggio Committed by Alexandre Julliard

Code used AF_IPX in some places where it should have used WS_AF_IPX.

parent 588200fc
......@@ -771,9 +771,9 @@ static struct ws_protoent* check_buffer_pe(int size)
/* ----------------------------------- i/o APIs */
#ifdef HAVE_IPX
#define SUPPORTED_PF(pf) ((pf)==AF_INET || (pf)== AF_IPX)
#define SUPPORTED_PF(pf) ((pf)==WS_AF_INET || (pf)== WS_AF_IPX)
#else
#define SUPPORTED_PF(pf) ((pf)==AF_INET)
#define SUPPORTED_PF(pf) ((pf)==WS_AF_INET)
#endif
static void ws2_async_accept(SOCKET s, SOCKET as)
......@@ -885,7 +885,7 @@ static int ws_sockaddr_u2ws(const struct sockaddr* uaddr, int uaddrlen, struct W
case 4:
case 3:
case 2:
wsipx->sa_family=AF_IPX;
wsipx->sa_family=WS_AF_IPX;
/* fall through */
case 1:
case 0:
......
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