summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */