summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index 9f7a7c4..baf38fb 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinPort.h,v 1.28 2002/05/24 21:19:09 dkf Exp $
+ * RCS: @(#) $Id: tclWinPort.h,v 1.29 2002/05/27 10:14:21 dkf Exp $
*/
#ifndef _TCLWINPORT
@@ -199,11 +199,13 @@
#ifndef EREMOTE
#define EREMOTE 66 /* The object is remote */
#endif
-/*
- * Note that EOVERFLOW is really just a specialist ERANGE...
- */
#ifndef EOVERFLOW
-#define EOVERFLOW ERANGE /* The object couldn't fit in the datatype */
+#ifdef
+#define EOVERFLOW EFBIG /* The object couldn't fit in the datatype */
+#else
+#define EOVERFLOW EINVAL /* Better than nothing! */
+#endif
+#endif
#endif
/*