summaryrefslogtreecommitdiffstats
path: root/win/tkWinPort.h
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-11-19 22:00:19 (GMT)
committerhobbs <hobbs>1999-11-19 22:00:19 (GMT)
commit22297e2b0a9fc24e13686771ff54709746ed0310 (patch)
tree20c1116802a85020ea150be5862058a28d32e732 /win/tkWinPort.h
parent3fd1d29ce817601c769d7549d8f3c9bec8d49539 (diff)
downloadtk-22297e2b0a9fc24e13686771ff54709746ed0310.zip
tk-22297e2b0a9fc24e13686771ff54709746ed0310.tar.gz
tk-22297e2b0a9fc24e13686771ff54709746ed0310.tar.bz2
* win/tkWinInt.h: removed TkFontAttributes typedef (was
redundant with tkFont.h). * win/tkWinPort.h: put #ifndef __GNUC__ around redefinition of str[n]casecmp, as cygwin uses the originals. * win/tkWinX.c: changed GetCurrentTime to GetTickCount (the former is deprecated). [Bug: 2053]
Diffstat (limited to 'win/tkWinPort.h')
-rw-r--r--win/tkWinPort.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/win/tkWinPort.h b/win/tkWinPort.h
index 4eaa443..9b327a5 100644
--- a/win/tkWinPort.h
+++ b/win/tkWinPort.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: tkWinPort.h,v 1.6 1999/07/22 21:51:25 redman Exp $
+ * RCS: @(#) $Id: tkWinPort.h,v 1.7 1999/11/19 22:00:19 hobbs Exp $
*/
#ifndef _WINPORT
@@ -48,8 +48,10 @@
# define hypot _hypot
#endif /* _MSC_VER */
-#define strncasecmp strnicmp
-#define strcasecmp stricmp
+#ifndef __GNUC__
+# define strncasecmp strnicmp
+# define strcasecmp stricmp
+#endif
#define NBBY 8