diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-15 08:22:48 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-15 08:22:48 (GMT) |
commit | e84de0f8429f773ec475c011d9e3a6eff4b2e377 (patch) | |
tree | 66c685e9b6f83fe46407ce027f739b7aaa108c23 /generic/tclPosixStr.c | |
parent | 98a7f7ca0a525eb6b959729d6aae302e31f2ca40 (diff) | |
download | tcl-e84de0f8429f773ec475c011d9e3a6eff4b2e377.zip tcl-e84de0f8429f773ec475c011d9e3a6eff4b2e377.tar.gz tcl-e84de0f8429f773ec475c011d9e3a6eff4b2e377.tar.bz2 |
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'generic/tclPosixStr.c')
-rw-r--r-- | generic/tclPosixStr.c | 4 |
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 |