summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 08:59:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 08:59:11 (GMT)
commit03213340ba02be303de2641c9e070433bfcf133d (patch)
treee7b21db4269785fa9b8c3f301d8053296d79c41c /generic
parentabd37955826e20ddd7de66d3f88b5528c6aa1728 (diff)
parent5aa029e092e22af619bda9d024d4883a637f598a (diff)
downloadtcl-03213340ba02be303de2641c9e070433bfcf133d.zip
tcl-03213340ba02be303de2641c9e070433bfcf133d.tar.gz
tcl-03213340ba02be303de2641c9e070433bfcf133d.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 d0002ec..411eb27 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
@@ -494,7 +494,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