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

This commit is contained in:
Michael C. Maggio 2002-01-15 20:26:28 +00:00 committed by Alexandre Julliard
parent 588200fcee
commit f3b01aa790
1 changed files with 3 additions and 3 deletions

View File

@ -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: