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

[master] fix win32 build problems

This commit is contained in:
Evan Hunt
2014-01-10 10:57:03 -08:00
parent 8f8c7df657
commit 1bb2f53b9f
7 changed files with 446 additions and 1 deletions

View File

@@ -336,6 +336,7 @@ my @substdefp = ("ISC_PLATFORM_HAVEATOMICSTORE",
"ISC_PLATFORM_HAVECMPXCHG",
"ISC_PLATFORM_HAVEXADD",
"ISC_PLATFORM_HAVEXADDQ",
"ISC_PLATFORM_NEEDSTRCASESTR",
"ISC_PLATFORM_OPENSSLHASH",
"ISC_PLATFORM_USEBACKTRACE");
@@ -1061,6 +1062,9 @@ if ($msc_ver >= 1700) {
$configdefp{"ISC_PLATFORM_USEBACKTRACE"} = 1;
}
# no version of MSVS supports strcasestr() yet
$configdefp{"ISC_PLATFORM_NEEDSTRCASESTR"} = 1;
# warn when cross compiling
if ($cross_compile eq "yes") {