Corrected compiling issues caused through IPv6 support, you can now compile QW server again without any IPv6 headers or libraries

This commit is contained in:
Maddes Buecher 2000-08-17 21:33:51 +00:00
parent d01302c5fa
commit 483686193a
2 changed files with 16 additions and 1 deletions

View file

@ -44,7 +44,9 @@
#ifdef _WIN32
# include <winsock2.h>
# include <ws2tcpip.h>
# ifdef HAVE_IPV6
# include <tpipv6.h>
# endif
# define _WINSOCKAPI_
# define HAVE_SOCKLEN_T
#else

View file

@ -179,6 +179,19 @@ SOURCE=..\common\net_udp.c
# Begin Source File
SOURCE=..\common\net_udp6.c
!IF "$(CFG)" == "qw_server - Win32 Release"
# PROP Exclude_From_Build 1
!ELSEIF "$(CFG)" == "qw_server - Win32 Debug"
# PROP Exclude_From_Build 1
!ELSEIF "$(CFG)" == "qw_server - Win32 IPv6"
!ENDIF
# End Source File
# Begin Source File