summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-04-23 14:38:52 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-04-23 14:38:52 (GMT)
commitffd62239ea93e9fa93f1036f03a281ed5d522848 (patch)
tree8b748d228fe15293a59015eb54ed8341d633a265 /generic/tclInt.h
parent6d9d2761b86a20a703ff568b0e3054d4136b7f48 (diff)
parenta05551fb2f2d4f0a8fe3bc93e2afdd7ad0227a7c (diff)
downloadtcl-ffd62239ea93e9fa93f1036f03a281ed5d522848.zip
tcl-ffd62239ea93e9fa93f1036f03a281ed5d522848.tar.gz
tcl-ffd62239ea93e9fa93f1036f03a281ed5d522848.tar.bz2
Eliminate use of NO_WIDE_TYPE everywhere: It's exactly the same as TCL_WIDE_INT_IS_LONG
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index aded90c..66d262a 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -23,7 +23,6 @@
* Some numerics configuration options.
*/
-#undef NO_WIDE_TYPE
#undef ACCEPT_NAN
/*
@@ -96,14 +95,6 @@ typedef int ptrdiff_t;
#endif
/*
- * When Tcl_WideInt and long are the same type, there's no value in
- * having a tclWideIntType separate from the tclIntType.
- */
-#ifdef TCL_WIDE_INT_IS_LONG
-#define NO_WIDE_TYPE
-#endif
-
-/*
* Macros used to cast between pointers and integers (e.g. when storing an int
* in ClientData), on 64-bit architectures they avoid gcc warning about "cast
* to/from pointer from/to integer of different size".
@@ -2634,7 +2625,7 @@ MODULE_SCOPE const Tcl_ObjType tclProcBodyType;
MODULE_SCOPE const Tcl_ObjType tclStringType;
MODULE_SCOPE const Tcl_ObjType tclArraySearchType;
MODULE_SCOPE const Tcl_ObjType tclEnsembleCmdType;
-#ifndef NO_WIDE_TYPE
+#ifndef TCL_WIDE_INT_IS_LONG
MODULE_SCOPE const Tcl_ObjType tclWideIntType;
#endif
MODULE_SCOPE const Tcl_ObjType tclRegexpType;
@@ -4385,7 +4376,7 @@ MODULE_SCOPE Tcl_PackageInitProc Procbodytest_SafeInit;
* value of strings like: "yes", "no", "true", "false", "on", "off".
*/
-#ifndef NO_WIDE_TYPE
+#ifndef TCL_WIDE_INT_IS_LONG
#define TclSetWideIntObj(objPtr, w) \
do { \
TclInvalidateStringRep(objPtr); \