From 90c192c223b357e9824bbcdf8b70df9616b6e3df Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Wed, 19 Mar 2003 23:11:23 +0000 Subject: [PATCH] ipx on win32 fixed --- ChangeLog | 2 +- arch/win32/ipx_win.c | 5 +++-- configure.ac | 4 ---- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index eeb82075..37acaf19 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,6 @@ 2003-03-19 Bradley Bell - * arch/win32/ipx_win.c: ipx on win32 fixed! + * arch/win32/ipx_win.c, configure.ac: ipx on win32 fixed! 2003-03-19 Martin Schaffner diff --git a/arch/win32/ipx_win.c b/arch/win32/ipx_win.c index bd061176..47cda640 100644 --- a/arch/win32/ipx_win.c +++ b/arch/win32/ipx_win.c @@ -1,4 +1,4 @@ -/* $Id: ipx_win.c,v 1.5 2003-02-28 23:34:15 btb Exp $ */ +/* $Id: ipx_win.c,v 1.6 2003-03-19 23:10:34 btb Exp $ */ /* * @@ -96,7 +96,8 @@ static int ipx_win_OpenSocket(ipx_socket_t *sk, int port) */ /* do a socket call, then bind to this port */ // sock = socket(AF_IPX, SOCK_DGRAM, PF_IPX); - sock = socket(AF_IPX, SOCK_DGRAM, 0); +// sock = socket(AF_IPX, SOCK_DGRAM, 0); + sock = socket(AF_IPX, SOCK_DGRAM, NSPROTO_IPX);//why NSPROTO_IPX? I looked in the quake source and thats what they used. :) -MPM (on w2k 0 and PF_IPX don't work) if (sock == -1) { mprintf((1,"IPX: could not open IPX socket.\n")); return -1; diff --git a/configure.ac b/configure.ac index e8fcd9e7..40db4eed 100644 --- a/configure.ac +++ b/configure.ac @@ -255,10 +255,6 @@ if test x$enable_network != xno; then AC_MSG_WARN([OS X detected. disabling network]) enable_network="no"; fi -# if test x$MINGW32 = xyes; then -# AC_MSG_WARN([MINGW detected. disabling network]) -# enable_network="no"; -# fi fi if test x$enable_network != xno; then AC_DEFINE(NETWORK,,[Define if you want a network build]) -- 2.39.2