Go to file
Kp 20e72128de Add configure test and fallback code to support ancient Windows
Windows 2000 has no support for getaddrinfo.  Five years ago (Apr 5
2011), the addition of tracker support
(7f18afd5d7) brought a requirement for
getaddrinfo.  Recently, someone with a working Windows 2000 system
reported that Rebirth no longer starts on Windows 2000.  Although such
systems should not be connected to the Internet, they may still need
name resolution on a LAN.  Add a configure test to probe for getaddrinfo
support and fall back to gethostbyname if needed.

Compiling a binary that works on Windows 2000 requires one of:
* using an ancient SDK that does not declare getaddrinfo
* defining _WIN32_WINNT to exclude Windows XP support
* overriding the SConf test to force failure

Fixes: 7f18afd5d7 ("Client-side implementation for Tracker support by Matt 1360 Vandermeulen including improvements in udp_dns_filladdr and IPv4/IPv6 compability; Very little adjustments by me, too including IPv6 support for Windows (untested); Actual tracker code will follow later as seperate branch when it's done")
2016-03-18 02:05:16 +00:00
common Make check_warn_object_type work without gcc ({}) extension 2016-03-05 17:26:24 +00:00
contrib Update Xcode project file listing (for editing purposes) 2016-03-06 13:05:37 +08:00
d1x-rebirth Use partial_const_range 2016-02-12 04:02:28 +00:00
d2x-rebirth Move file-local classes into anonymous namespace 2016-03-04 04:12:35 +00:00
Documentation
similar Add configure test and fallback code to support ancient Windows 2016-03-18 02:05:16 +00:00
.gitignore
COPYING.txt
GPL-3.txt
INSTALL.markdown
SConstruct Add configure test and fallback code to support ancient Windows 2016-03-18 02:05:16 +00:00