summaryrefslogtreecommitdiff
path: root/lib/config-win32.h
diff options
context:
space:
mode:
authorViktor Szakats <commit@vsz.me>2021-02-23 12:06:55 +0000
committerViktor Szakats <commit@vsz.me>2021-02-23 12:06:55 +0000
commitfb98a436a74bffa5e65a3c2579ccb9af269f2d10 (patch)
treef80f9941e67e1acd1331fbde9de9733af0de5da1 /lib/config-win32.h
parent95014b0a4d41723e05e8d6e3d9b0636fdd92eab6 (diff)
downloadcurl-fb98a436a74bffa5e65a3c2579ccb9af269f2d10.tar.gz
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
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r--lib/config-win32.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index a464fbf5a..0817ec5b1 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