summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2009-12-21 23:25:38 (GMT)
committernijtmans <nijtmans@noemail.net>2009-12-21 23:25:38 (GMT)
commit066016b2e1d0a5ac7832bd0be1b00e33e0b81b1d (patch)
tree86d9a8cc06d969564b99b6d5ed25975042f9300a /win/tclWinPort.h
parentcde6ace493c3bf9042b9f20bea8c034591870a4b (diff)
downloadtcl-066016b2e1d0a5ac7832bd0be1b00e33e0b81b1d.zip
tcl-066016b2e1d0a5ac7832bd0be1b00e33e0b81b1d.tar.gz
tcl-066016b2e1d0a5ac7832bd0be1b00e33e0b81b1d.tar.bz2
Various CYGWIN-related fixes. In the win32 configure script, CYGWIN is still not enabled yet, but at least it is a step in the right direction.
FossilOrigin-Name: dca4a9980ea1e6abbb78a199f0fbf597beb38138
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index 93eca70..01e5432 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.51 2009/07/22 19:54:49 nijtmans Exp $
+ * RCS: @(#) $Id: tclWinPort.h,v 1.52 2009/12/21 23:25:41 nijtmans Exp $
*/
#ifndef _TCLWINPORT
@@ -48,8 +48,11 @@
* These string functions are not defined with the same names on Windows.
*/
+#ifndef __CYGWIN__
+#define wcscasecmp _wcsicmp
#define strcasecmp stricmp
#define strncasecmp strnicmp
+#endif
/*
* Need to block out these includes for building extensions with MetroWerks