]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
mingw: enable using strcasecmp()
authorViktor Szakats <commit@vsz.me>
Tue, 23 Feb 2021 12:06:55 +0000 (12:06 +0000)
committerViktor Szakats <commit@vsz.me>
Tue, 23 Feb 2021 12:06:55 +0000 (12:06 +0000)
This makes the 'Features:' list sorted case-insensitively,
bringing output in-line with *nix builds.

Reviewed-by: Jay Satiro
Closes #6644

lib/config-win32.h

index a464fbf5a929e2ccec038cff3c72890a46bb73e9..0817ec5b1230cf70b4da133e9581084576858189 100644 (file)
 #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