Fix various build failures on Windows (Courtesy of rockerinthelocker)

This commit is contained in:
Ondřej Surý
2018-05-30 15:09:55 +02:00
committed by Ondřej Surý
parent ce8b6f22bd
commit 08a962545d
2 changed files with 5 additions and 3 deletions

View File

@@ -36,9 +36,6 @@
#define ISC_PLATFORM_NEEDNTOP
#define ISC_PLATFORM_NEEDPTON
#define ISC_PLATFORM_HAVESOCKADDRSTORAGE
#if _MSC_VER >= 1900
#define ISC_PLATFORM_HAVETFO
#endif
#define ISC_PLATFORM_NEEDSTRSEP
#define ISC_PLATFORM_NEEDSTRLCPY

View File

@@ -1153,6 +1153,11 @@ if ($vcredist_path eq " --infer-- ") {
"redist", "1033"));
}
# 'VCToolsRedistDir' is available since Visual Studio 2017.
if ($ENV{"VCToolsRedistDir"}) {
push(@vcpaths, $ENV{"VCToolsRedistDir"});
}
my $rfile;
if ($want_win32 eq "yes") {
$rfile = "vcredist_x86.exe";