summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2005-06-01 11:00:24 (GMT)
committerdkf <dkf@noemail.net>2005-06-01 11:00:24 (GMT)
commitf4d06364bf1faa68275e63759f7f5ceb77c42562 (patch)
treed3bbe95a2b84f8455477e5d9e709e78633b6d7bd /win
parentca21320f96c6e12b9c66c3ab7203b29937513138 (diff)
downloadtcl-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.h9
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.
*/