]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove dummy ISC_PLATFORM_NEEDSTRCASESTR define from platform.h
authorOndřej Surý <ondrej@sury.org>
Tue, 4 Sep 2018 10:29:24 +0000 (12:29 +0200)
committerOndřej Surý <ondrej@sury.org>
Fri, 7 Sep 2018 10:17:30 +0000 (12:17 +0200)
lib/isc/include/isc/platform.h.in
lib/isc/win32/include/isc/platform.h.in
win32utils/Configure

index 5fd9af3c5930ffe9becf23817bf59796005ab0f8..3916bdf0558afb75d0915824208e39b861485eb3 100644 (file)
  *** 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.
  */
index b36233a6952245815db8e29b46f64b42305a4740..c01aad276495878e88e043e00eaed88cb0a5cc13 100644 (file)
 #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
  */
index eaa29247a139d7e2de6d86a592cfd80674bc4652..c2b63a0c37eef04501e9eeab80b411b82fdd3c35 100644 (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") {