summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-09-12 10:26:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-09-12 10:26:11 (GMT)
commit5ea684c45a198b16b377c8879ac671d3e8c12c18 (patch)
tree193a4e7c86f916360c5106a502d145905b5bae49
parent39e7303a213c75a98231ffe50b61d078da68c8c6 (diff)
parent1f79a7a0108955b11a5fda9876de4a7ae891ebb2 (diff)
downloadtcl-5ea684c45a198b16b377c8879ac671d3e8c12c18.zip
tcl-5ea684c45a198b16b377c8879ac671d3e8c12c18.tar.gz
tcl-5ea684c45a198b16b377c8879ac671d3e8c12c18.tar.bz2
[Bug 3407070] tclPosixStr.c won't build with EOVERFLOW==E2BIG
-rw-r--r--ChangeLog5
-rw-r--r--win/tclWinPort.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index ea86aec..3ce5861 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-12 Jan Nijtmans <nijtmans@users.sf.net>
+
+ * win/tclWinPort.h: [Bug 3407070] tclPosixStr.c won't build with
+ EOVERFLOW==E2BIG
+
2011-09-11 Don Porter <dgp@users.sourceforge.net>
* tests/thread.test: Convert [testthread] use to Thread package
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index 66888b9..9b19b23 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -250,11 +250,11 @@
#ifndef EOTHER
# define EOTHER 131 /* Other error */
#endif
-#ifndef EOVERFLOW
-# define EOVERFLOW 132 /* File too big */
-#endif
+/* workaround for mingw-w64 bug 3407992 */
+#undef EOVERFLOW
+#define EOVERFLOW 132 /* File too big */
#ifndef EOWNERDEAD
-# define EOWNERDEAD 133 /* File too big */
+# define EOWNERDEAD 133 /* Owner dead */
#endif
#ifndef EPROTO
# define EPROTO 134 /* Protocol error */