summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2011-09-12 10:26:11 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2011-09-12 10:26:11 (GMT)
commit5fd55e054fe403bd9e474e28d370aa480e03b899 (patch)
tree193a4e7c86f916360c5106a502d145905b5bae49
parenta25ac98dc03ebb73e6ed91ff437543fd3d3ca14a (diff)
parent85ac35d6cca221ddbe40f9e124aa8fd95ebde6bf (diff)
downloadtcl-5fd55e054fe403bd9e474e28d370aa480e03b899.zip
tcl-5fd55e054fe403bd9e474e28d370aa480e03b899.tar.gz
tcl-5fd55e054fe403bd9e474e28d370aa480e03b899.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 */