summaryrefslogtreecommitdiffstats
path: root/generic/tclPosixStr.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 08:44:50 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 08:44:50 (GMT)
commit5aa029e092e22af619bda9d024d4883a637f598a (patch)
treeecf34bbcff3051bb4ef9d706289d78268fd42763 /generic/tclPosixStr.c
parent368a70fb725d84b0997d6b9826a3851c87035e8c (diff)
parent17c90c83d4e0dda77c45f716df7eb3e37a7171da (diff)
downloadtcl-5aa029e092e22af619bda9d024d4883a637f598a.zip
tcl-5aa029e092e22af619bda9d024d4883a637f598a.tar.gz
tcl-5aa029e092e22af619bda9d024d4883a637f598a.tar.bz2
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'generic/tclPosixStr.c')
-rw-r--r--generic/tclPosixStr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclPosixStr.c b/generic/tclPosixStr.c
index d56a3bf..a11b532 100644
--- a/generic/tclPosixStr.c
+++ b/generic/tclPosixStr.c
@@ -35,7 +35,7 @@ CONST char *
Tcl_ErrnoId(void)
{
switch (errno) {
-#ifdef E2BIG
+#if defined(E2BIG) && (!defined(EOVERFLOW) || (E2BIG != EOVERFLOW))
case E2BIG: return "E2BIG";
#endif
#ifdef EACCES
@@ -482,7 +482,7 @@ Tcl_ErrnoMsg(
int err) /* Error number (such as in errno variable). */
{
switch (err) {
-#ifdef E2BIG
+#if defined(E2BIG) && (!defined(EOVERFLOW) || (E2BIG != EOVERFLOW))
case E2BIG: return "argument list too long";
#endif
#ifdef EACCES