diff --git a/configure.ac b/configure.ac index b8a60e2c..9227f318 100644 --- a/configure.ac +++ b/configure.ac @@ -357,8 +357,6 @@ dnl We expect to have these functions on Unix-like systems configure dnl runs on. The defines are provided to get them in config.h.in so dnl Wget can still be ported to non-Unix systems (such as Windows) dnl that lack some of these functions. -AC_DEFINE([HAVE_STRCASECMP], 1, [Define to 1 if you have the `strcasecmp' function.]) -AC_DEFINE([HAVE_STRNCASECMP], 1, [Define to 1 if you have the `strncasecmp' function.]) AC_DEFINE([HAVE_STRDUP], 1, [Define to 1 if you have the `strdup' function.]) AC_DEFINE([HAVE_ISATTY], 1, [Define to 1 if you have the `isatty' function.]) diff --git a/src/mswindows.h b/src/mswindows.h index 5012232f..a8f9ba05 100644 --- a/src/mswindows.h +++ b/src/mswindows.h @@ -59,14 +59,6 @@ as that of the covered work. */ /* Declares inet_ntop() and inet_pton(). */ #include -/* We have strcasecmp and strncasecmp, just under different names. */ -#ifndef HAVE_STRCASECMP -# define strcasecmp stricmp -#endif -#ifndef HAVE_STRNCASECMP -# define strncasecmp strnicmp -#endif - #include #define PATH_SEPARATOR '\\'