summaryrefslogtreecommitdiffstats
path: root/generic/tclTimer.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-04-23 14:15:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-04-23 14:15:14 (GMT)
commita05551fb2f2d4f0a8fe3bc93e2afdd7ad0227a7c (patch)
tree805c4003273af068deded070c54d4f0cfa0a3f27 /generic/tclTimer.c
parent07ba32a73f1d629e2d4eedadcbed4b165dbcab7f (diff)
parent7e4b7690f3583ba3196f7e17fec6c8113170ae4b (diff)
downloadtcl-a05551fb2f2d4f0a8fe3bc93e2afdd7ad0227a7c.zip
tcl-a05551fb2f2d4f0a8fe3bc93e2afdd7ad0227a7c.tar.gz
tcl-a05551fb2f2d4f0a8fe3bc93e2afdd7ad0227a7c.tar.bz2
Implement Tcl_NewBooleanObj, Tcl_DbNewBooleanObj and Tcl_SetBooleanObj as macros using Tcl_NewIntObj, Tcl_DbNewLongObj and Tcl_SetIntObj.
Starting with Tcl 8.5, this is exactly the same, it only eliminates code duplication. Eliminate use of NO_WIDE_TYPE everywhere: It's exactly the same as TCL_WIDE_INT_IS_LONG
Diffstat (limited to 'generic/tclTimer.c')
-rw-r--r--generic/tclTimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclTimer.c b/generic/tclTimer.c
index 6b17825..c10986a 100644
--- a/generic/tclTimer.c
+++ b/generic/tclTimer.c
@@ -819,7 +819,7 @@ Tcl_AfterObjCmd(
*/
if (objv[1]->typePtr == &tclIntType
-#ifndef NO_WIDE_TYPE
+#ifndef TCL_WIDE_INT_IS_LONG
|| objv[1]->typePtr == &tclWideIntType
#endif
|| objv[1]->typePtr == &tclBignumType