summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2006-11-24 15:06:25 (GMT)
committerdgp <dgp@users.sourceforge.net>2006-11-24 15:06:25 (GMT)
commitbc1d21f318d9ce36a03d17c9c54b6be84cb8291a (patch)
tree76e1c93f5ab045689c4364b2bf2864e37837a067
parent031da451ae58dd656ed6ca2fe488bd15e86c258e (diff)
downloadtcl-bc1d21f318d9ce36a03d17c9c54b6be84cb8291a.zip
tcl-bc1d21f318d9ce36a03d17c9c54b6be84cb8291a.tar.gz
tcl-bc1d21f318d9ce36a03d17c9c54b6be84cb8291a.tar.bz2
Supply missing #ifdef
-rw-r--r--generic/tclCompCmds.c4
1 files changed, 3 insertions, 1 deletions
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;