Module: wine Branch: master Commit: 802016d0ebb0d4de55ae61f9b80c3855f91399e3 URL: https://gitlab.winehq.org/wine/wine/-/commit/802016d0ebb0d4de55ae61f9b80c385... Author: Stefan Dösinger <stefan(a)codeweavers.com> Date: Tue Sep 6 14:12:30 2022 +0300 include/test.h: Don't use strcasecmp. Fixes building tests in Visual Studio with msvc's own crt headers. --- include/wine/test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wine/test.h b/include/wine/test.h index 505f0daaaf4..d1036f9dcd4 100644 --- a/include/wine/test.h +++ b/include/wine/test.h @@ -743,7 +743,7 @@ int main( int argc, char **argv ) if (GetEnvironmentVariableA( "WINETEST_COLOR", p, sizeof(p) )) { - BOOL automode = !strcasecmp(p, "auto"); + BOOL automode = !strcmp(p, "auto"); winetest_color = automode ? isatty( fileno( stdout ) ) : atoi(p); /* enable ANSI support for Windows console */ if (winetest_color)