summaryrefslogtreecommitdiffstats
path: root/win/tkWinPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-14 10:36:30 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-14 10:36:30 (GMT)
commit40ec7c7c69eb2e544d61c293e94c0247df0b93bc (patch)
tree31b65718f7e34f797477c5381d974b8c5fc0a07c /win/tkWinPort.h
parente15d30ff40f9ec41c095e7ae0013ad0efb3aac9d (diff)
parente050cf7ed22790b5d95108c5d01d507d852f888c (diff)
downloadtk-40ec7c7c69eb2e544d61c293e94c0247df0b93bc.zip
tk-40ec7c7c69eb2e544d61c293e94c0247df0b93bc.tar.gz
tk-40ec7c7c69eb2e544d61c293e94c0247df0b93bc.tar.bz2
Static Cygwin wish.exe cannot link with win32's static libtk86.a (because it expects a different runtime), so configure shouldn't even try to do this.
(On a dynamic wish.exe this works, this is exactly how wish can run even without X11). Don't use deprecated stricmp/strnicmp any more, but underscored variant for non-GNU compilers.
Diffstat (limited to 'win/tkWinPort.h')
-rw-r--r--win/tkWinPort.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinPort.h b/win/tkWinPort.h
index fe31609..95cad78 100644
--- a/win/tkWinPort.h
+++ b/win/tkWinPort.h
@@ -70,8 +70,8 @@
#include <X11/Xutil.h>
#ifndef __GNUC__
-# define strncasecmp strnicmp
-# define strcasecmp stricmp
+# define strncasecmp _strnicmp
+# define strcasecmp _stricmp
#endif
#define NBBY 8