From: Ondřej Surý Date: Tue, 4 Sep 2018 10:29:24 +0000 (+0200) Subject: Remove dummy ISC_PLATFORM_NEEDSTRCASESTR define from platform.h X-Git-Tag: v9.13.4~157^2~35 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=f8635fd719a69ed2fa7685d3fe2d4b3412ef53aa;p=thirdparty%2Fbind9.git Remove dummy ISC_PLATFORM_NEEDSTRCASESTR define from platform.h --- diff --git a/lib/isc/include/isc/platform.h.in b/lib/isc/include/isc/platform.h.in index 5fd9af3c593..3916bdf0558 100644 --- a/lib/isc/include/isc/platform.h.in +++ b/lib/isc/include/isc/platform.h.in @@ -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. */ diff --git a/lib/isc/win32/include/isc/platform.h.in b/lib/isc/win32/include/isc/platform.h.in index b36233a6952..c01aad27649 100644 --- a/lib/isc/win32/include/isc/platform.h.in +++ b/lib/isc/win32/include/isc/platform.h.in @@ -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 */ diff --git a/win32utils/Configure b/win32utils/Configure index eaa29247a13..c2b63a0c37e 100644 --- a/win32utils/Configure +++ b/win32utils/Configure @@ -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") {