From bc1d21f318d9ce36a03d17c9c54b6be84cb8291a Mon Sep 17 00:00:00 2001 From: dgp Date: Fri, 24 Nov 2006 15:06:25 +0000 Subject: Supply missing #ifdef --- generic/tclCompCmds.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/generic/tclCompCmds.c b/generic/tclCompCmds.c index f4b5db0..09e70e2 100644 --- a/generic/tclCompCmds.c +++ b/generic/tclCompCmds.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: tclCompCmds.c,v 1.89 2006/11/23 23:48:45 dkf Exp $ + * RCS: @(#) $Id: tclCompCmds.c,v 1.90 2006/11/24 15:06:25 dgp Exp $ */ #include "tclInt.h" @@ -6198,9 +6198,11 @@ CompareNumbers( longCompare: *resultPtr = (l1 < l2) ? MP_LT : ((l1 > l2) ? MP_GT : MP_EQ); return TCL_OK; +#ifndef NO_WIDE_TYPE wideCompare: *resultPtr = (w1 < w2) ? MP_LT : ((w1 > w2) ? MP_GT : MP_EQ); return TCL_OK; +#endif doubleCompare: *resultPtr = (d1 < d2) ? MP_LT : ((d1 > d2) ? MP_GT : MP_EQ); return TCL_OK; -- cgit v0.12