From fb98a436a74bffa5e65a3c2579ccb9af269f2d10 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 23 Feb 2021 12:06:55 +0000 Subject: [PATCH] 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 --- lib/config-win32.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.47.3