diff options
author | nijtmans <nijtmans> | 2010-04-19 07:40:41 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-04-19 07:40:41 (GMT) |
commit | 01e747d66bb25d018cd504121d9682d5c512f3df (patch) | |
tree | 7264fb2e9b354342117754d52b7eeff2d7de0b7f /win/tclWinFile.c | |
parent | fe8462879bb2ec25d26565fb4672ae3dcd341bbc (diff) | |
download | tcl-01e747d66bb25d018cd504121d9682d5c512f3df.zip tcl-01e747d66bb25d018cd504121d9682d5c512f3df.tar.gz tcl-01e747d66bb25d018cd504121d9682d5c512f3df.tar.bz2 |
Fix [Patch 2986105]: conditionally defining strcasecmp/strncasecmp
Diffstat (limited to 'win/tclWinFile.c')
-rw-r--r-- | win/tclWinFile.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/win/tclWinFile.c b/win/tclWinFile.c index 7399e22..61e73c6 100644 --- a/win/tclWinFile.c +++ b/win/tclWinFile.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinFile.c,v 1.95.2.3 2010/01/31 23:51:37 nijtmans Exp $ + * RCS: @(#) $Id: tclWinFile.c,v 1.95.2.4 2010/04/19 07:40:41 nijtmans Exp $ */ /* #define _WIN32_WINNT 0x0500 */ @@ -1776,9 +1776,9 @@ NativeIsExec( * Use wide-char case-insensitive comparison */ - if ((wcscasecmp(path+len-3, L"exe") == 0) - || (wcscasecmp(path+len-3, L"com") == 0) - || (wcscasecmp(path+len-3, L"bat") == 0)) { + if ((_wcsicmp(path+len-3, L"exe") == 0) + || (_wcsicmp(path+len-3, L"com") == 0) + || (_wcsicmp(path+len-3, L"bat") == 0)) { return 1; } } else { |