diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-15 08:59:11 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-15 08:59:11 (GMT) |
commit | 03213340ba02be303de2641c9e070433bfcf133d (patch) | |
tree | e7b21db4269785fa9b8c3f301d8053296d79c41c | |
parent | abd37955826e20ddd7de66d3f88b5528c6aa1728 (diff) | |
parent | 5aa029e092e22af619bda9d024d4883a637f598a (diff) | |
download | tcl-03213340ba02be303de2641c9e070433bfcf133d.zip tcl-03213340ba02be303de2641c9e070433bfcf133d.tar.gz tcl-03213340ba02be303de2641c9e070433bfcf133d.tar.bz2 |
[Bug 3388350] mingw64 compiler warnings
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | generic/tclPosixStr.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2011-08-15 Jan Nijtmans <nijtmans@users.sf.net> + + * generic/tclPosixStr.c: [Bug 3388350] mingw64 compiler warnings + 2011-08-14 Jan Nijtmans <nijtmans@users.sf.net> * doc/FindExec.3: [Patch 3124554]: Move WishPanic from Tk to Tcl 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 |