mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 22:04:29 +00:00
include/test.h: Don't use strcasecmp.
Fixes building tests in Visual Studio with msvc's own crt headers.
This commit is contained in:
parent
a63d7c06a9
commit
802016d0eb
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue