2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-05 00:55:24 +00:00

[master] more windows VS14 compatibility work

(completes change #3987)
This commit is contained in:
Evan Hunt
2015-01-20 15:45:38 -08:00
parent c110d61b17
commit b77ae24e3e
5 changed files with 96 additions and 105 deletions

View File

@@ -927,7 +927,7 @@ connection_reset_fix(SOCKET fd) {
BOOL bNewBehavior = FALSE;
DWORD status;
if (isc_win32os_majorversion() < 5)
if (isc_win32os_versioncheck(5, 0, 0, 0) < 0)
return (ISC_R_SUCCESS); /* NT 4.0 has no problem */
/* disable bad behavior using IOCTL: SIO_UDP_CONNRESET */