diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-09-12 10:26:11 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-09-12 10:26:11 (GMT) |
commit | 9424dbc2b6756b6554197e3f3df7efc1e875de0d (patch) | |
tree | 193a4e7c86f916360c5106a502d145905b5bae49 /win | |
parent | 021b7b35eb1380f04f55ca09121e9a392a1bd1ee (diff) | |
parent | a4e845768bc5967a0302b6eaab215b901ea2c4e6 (diff) | |
download | tcl-9424dbc2b6756b6554197e3f3df7efc1e875de0d.zip tcl-9424dbc2b6756b6554197e3f3df7efc1e875de0d.tar.gz tcl-9424dbc2b6756b6554197e3f3df7efc1e875de0d.tar.bz2 |
[Bug 3407070] tclPosixStr.c won't build with EOVERFLOW==E2BIG
Diffstat (limited to 'win')
-rw-r--r-- | win/tclWinPort.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 */ |