From: Viktor Szakats Date: Tue, 23 Feb 2021 12:06:55 +0000 (+0000) Subject: mingw: enable using strcasecmp() X-Git-Tag: curl-7_76_0~121 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fb98a436a74bffa5e65a3c2579ccb9af269f2d10;p=thirdparty%2Fcurl.git mingw: enable using strcasecmp() This makes the 'Features:' list sorted case-insensitively, bringing output in-line with *nix builds. Reviewed-by: Jay Satiro Closes #6644 --- diff --git a/lib/config-win32.h b/lib/config-win32.h index a464fbf5a9..0817ec5b12 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -247,7 +247,9 @@ #define HAVE_SOCKET 1 /* Define if you have the strcasecmp function. */ -/* #define HAVE_STRCASECMP 1 */ +#ifdef __MINGW32__ +#define HAVE_STRCASECMP 1 +#endif /* Define if you have the strdup function. */ #define HAVE_STRDUP 1