summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 08:22:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 08:22:48 (GMT)
commit17c90c83d4e0dda77c45f716df7eb3e37a7171da (patch)
tree66c685e9b6f83fe46407ce027f739b7aaa108c23 /generic
parente5bb0d181bdfe2f80cfa4c4ca19f912966f28915 (diff)
downloadtcl-17c90c83d4e0dda77c45f716df7eb3e37a7171da.zip
tcl-17c90c83d4e0dda77c45f716df7eb3e37a7171da.tar.gz
tcl-17c90c83d4e0dda77c45f716df7eb3e37a7171da.tar.bz2
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'generic')
-rw-r--r--generic/tclPosixStr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclPosixStr.c b/generic/tclPosixStr.c
index 0df2f1a..258996f 100644
--- a/generic/tclPosixStr.c
+++ b/generic/tclPosixStr.c
@@ -37,7 +37,7 @@ CONST char *
Tcl_ErrnoId()
{
switch (errno) {
-#ifdef E2BIG
+#if defined(E2BIG) && (!defined(EOVERFLOW) || (E2BIG != EOVERFLOW))
case E2BIG: return "E2BIG";
#endif
#ifdef EACCES
@@ -486,7 +486,7 @@ Tcl_ErrnoMsg(err)
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