mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-21 19:32:30 +00:00
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:
parent
d01302c5fa
commit
483686193a
2 changed files with 16 additions and 1 deletions
|
@ -44,7 +44,9 @@
|
|||
#ifdef _WIN32
|
||||
# include <winsock2.h>
|
||||
# include <ws2tcpip.h>
|
||||
# include <tpipv6.h>
|
||||
# ifdef HAVE_IPV6
|
||||
# include <tpipv6.h>
|
||||
# endif
|
||||
# define _WINSOCKAPI_
|
||||
# define HAVE_SOCKLEN_T
|
||||
#else
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue