diff options
author | hobbs <hobbs@noemail.net> | 1999-11-19 22:00:19 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 1999-11-19 22:00:19 (GMT) |
commit | 9a147667b0d6d105189f6d0a79dbd6547f76e74b (patch) | |
tree | 20c1116802a85020ea150be5862058a28d32e732 /win/tkWinPort.h | |
parent | 7ac8b94c26d6bef616b49a98c362396687630569 (diff) | |
download | tk-9a147667b0d6d105189f6d0a79dbd6547f76e74b.zip tk-9a147667b0d6d105189f6d0a79dbd6547f76e74b.tar.gz tk-9a147667b0d6d105189f6d0a79dbd6547f76e74b.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]
FossilOrigin-Name: 9817763038db6ca12771e36e2114bdb5b71fd3ca
Diffstat (limited to 'win/tkWinPort.h')
-rw-r--r-- | win/tkWinPort.h | 8 |
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 |