summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2013-06-14 10:12:37 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2013-06-14 10:12:37 (GMT)
commit207afdfc12ad99b8c1d64ea76619ebdd2537ee7c (patch)
tree50327512a8364639d97b2014949cc7413940ce0a /win
parent6d135dab5eeb3c2c393eb6e5415e06911fbc1135 (diff)
downloadtk-207afdfc12ad99b8c1d64ea76619ebdd2537ee7c.zip
tk-207afdfc12ad99b8c1d64ea76619ebdd2537ee7c.tar.gz
tk-207afdfc12ad99b8c1d64ea76619ebdd2537ee7c.tar.bz2
Don't use deprecated stricmp/strnicmp any more, but underscored variant for non-GNU compilers.
Diffstat (limited to 'win')
-rw-r--r--win/tkWinPort.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinPort.h b/win/tkWinPort.h
index 14f949c..8d7778c 100644
--- a/win/tkWinPort.h
+++ b/win/tkWinPort.h
@@ -63,8 +63,8 @@
#ifndef __GNUC__
-# define strncasecmp strnicmp
-# define strcasecmp stricmp
+# define strncasecmp _strnicmp
+# define strcasecmp _stricmp
#endif
#define NBBY 8