summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-14 10:12:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-14 10:12:37 (GMT)
commite050cf7ed22790b5d95108c5d01d507d852f888c (patch)
tree50327512a8364639d97b2014949cc7413940ce0a
parent841717b3c561a35d53041f23da2f969a752abb91 (diff)
downloadtk-e050cf7ed22790b5d95108c5d01d507d852f888c.zip
tk-e050cf7ed22790b5d95108c5d01d507d852f888c.tar.gz
tk-e050cf7ed22790b5d95108c5d01d507d852f888c.tar.bz2
Don't use deprecated stricmp/strnicmp any more, but underscored variant for non-GNU compilers.
-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