Subject: Don't use deprecated stricmp/strnicmp any more, but underscored variant for non-GNU compilers.

From: "jan.nijtmans" <[email-masked]>
Date: Fri, 14 Jun 2013 10:11:08 +0000

---
 win/tclWinPort.h | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index b545a09..ec9e867 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -64,11 +64,9 @@ typedef DWORD_PTR * PDWORD_PTR;
 #include <string.h>
 #include <limits.h>
 
-#ifndef strncasecmp
-#   define strncasecmp strnicmp
-#endif
-#ifndef strcasecmp
-#   define strcasecmp stricmp
+#ifndef __GNUC__
+#    define strncasecmp _strnicmp
+#    define strcasecmp _stricmp
 #endif
 
 /*
-- 
cgit v0.12