summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2007-08-08 20:52:20 (GMT)
committerdgp <dgp@users.sourceforge.net>2007-08-08 20:52:20 (GMT)
commit365ad526523e348e7763aca71cc96aaa6d582b82 (patch)
tree6b7f37c9d9b06161c046e757e8cadc816f02e274
parentbc492ff043ece437a95b266d390d5be0a0247380 (diff)
downloadtcl-365ad526523e348e7763aca71cc96aaa6d582b82.zip
tcl-365ad526523e348e7763aca71cc96aaa6d582b82.tar.gz
tcl-365ad526523e348e7763aca71cc96aaa6d582b82.tar.bz2
* generic/tclExecute.c: Corrected failure to compile/link
in the -DNO_WIDE_TYPE configuration.
-rw-r--r--ChangeLog3
-rw-r--r--generic/tclExecute.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 39a9ca4..d9e0f69 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2007-08-08 Don Porter <dgp@users.sourceforge.net>
+ * generic/tclExecute.c: Corrected failure to compile/link
+ in the -DNO_WIDE_TYPE configuration.
+
* generic/tclExecute.c: Corrected improper use of bignum arguments
* tests/expr.test: to *SHIFT operations. [Bug 1770224].
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index b710e17..ebbd040 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclExecute.c,v 1.310 2007/08/08 20:25:04 dgp Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.311 2007/08/08 20:52:20 dgp Exp $
*/
#include "tclInt.h"
@@ -1325,7 +1325,7 @@ TclIncrObj(
TclSetLongObj(valuePtr, sum);
return TCL_OK;
}
-#ifndef TCL_WIDE_INT_IS_LONG
+#ifndef NO_WIDE_TYPE
{
Tcl_WideInt w1 = (Tcl_WideInt)augend;
Tcl_WideInt w2 = (Tcl_WideInt)addend;