From 365ad526523e348e7763aca71cc96aaa6d582b82 Mon Sep 17 00:00:00 2001 From: dgp Date: Wed, 8 Aug 2007 20:52:20 +0000 Subject: * generic/tclExecute.c: Corrected failure to compile/link in the -DNO_WIDE_TYPE configuration. --- ChangeLog | 3 +++ generic/tclExecute.c | 4 ++-- 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 + * 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; -- cgit v0.12