diff options
author | dkf <dkf@noemail.net> | 2005-06-01 11:00:24 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2005-06-01 11:00:24 (GMT) |
commit | f4d06364bf1faa68275e63759f7f5ceb77c42562 (patch) | |
tree | d3bbe95a2b84f8455477e5d9e709e78633b6d7bd /win | |
parent | ca21320f96c6e12b9c66c3ab7203b29937513138 (diff) | |
download | tcl-f4d06364bf1faa68275e63759f7f5ceb77c42562.zip tcl-f4d06364bf1faa68275e63759f7f5ceb77c42562.tar.gz tcl-f4d06364bf1faa68275e63759f7f5ceb77c42562.tar.bz2 |
Implementation of TIP#241 from Joe Mistachkin
Also compilation of [switch -glob -nocase] from Donal Fellows
FossilOrigin-Name: 1dd087938136afe1bd1ff08d596b1746dcbd2363
Diffstat (limited to 'win')
-rw-r--r-- | win/tclWinPort.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h index ac82929..1263e12 100644 --- a/win/tclWinPort.h +++ b/win/tclWinPort.h @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinPort.h,v 1.43 2004/11/03 21:07:01 davygrvy Exp $ + * RCS: @(#) $Id: tclWinPort.h,v 1.44 2005/06/01 11:00:36 dkf Exp $ */ #ifndef _TCLWINPORT @@ -45,6 +45,13 @@ #include <string.h> /* + * These string functions are not defined with the same names on Windows. + */ + +#define strcasecmp stricmp +#define strncasecmp strnicmp + +/* * Need to block out these includes for building extensions with MetroWerks * compiler for Win32. */ |