2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-03 16:15:27 +00:00

Remove dummy ISC_PLATFORM_NEEDSTRCASESTR define from platform.h

This commit is contained in:
Ondřej Surý
2018-09-04 12:29:24 +02:00
parent 22e5231f99
commit f8635fd719
3 changed files with 1 additions and 15 deletions

View File

@@ -82,11 +82,6 @@
*** Printing.
***/
/*
* If the system needs strlcpy(), ISC_PLATFORM_NEEDSTRLCPY will be defined.
*/
@ISC_PLATFORM_NEEDSTRLCPY@
/*
* If the system needs strlcat(), ISC_PLATFORM_NEEDSTRLCAT will be defined.
*/

View File

@@ -65,12 +65,6 @@
#define ISC_PLATFORM_NORETURN_PRE __declspec(noreturn)
#define ISC_PLATFORM_NORETURN_POST
/*
* If the strcasestr() operation is not available on this platform,
* ISC_PLATFORM_NEEDSTRCASESTR will be defined.
*/
@ISC_PLATFORM_NEEDSTRCASESTR@
/*
* Set up a macro for importing and exporting from the DLL
*/

View File

@@ -227,7 +227,7 @@ my @substdefh = ("AES_CC",
my %configdefp;
my @substdefp = ("ISC_PLATFORM_NEEDSTRCASESTR");
my @substdefp = ();
# for conf.sh
@@ -1156,9 +1156,6 @@ if ($msc_ver >= 1700) {
$configdefh{"USE_BACKTRACE"} = 1;
}
# no version of MSVS supports strcasestr() yet
$configdefp{"ISC_PLATFORM_NEEDSTRCASESTR"} = 1;
# warn when cross compiling
if ($cross_compile eq "yes") {