summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-25 22:46:30 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-25 22:46:30 (GMT)
commitbd858e00176724f0db7063318254a30c580910f4 (patch)
tree49ae70d5ac266eb322120fc267e2b5cd40b2468b /generic/tclInt.h
parent15e17d01d57f28aa3ccb9adcc344937c4b5a34e0 (diff)
parent5ef1c629dfce15837e4cb375f572a85c36a27773 (diff)
downloadtcl-bd858e00176724f0db7063318254a30c580910f4.zip
tcl-bd858e00176724f0db7063318254a30c580910f4.tar.gz
tcl-bd858e00176724f0db7063318254a30c580910f4.tar.bz2
Merge 8.6
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 288176d..7b2055c 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -3202,6 +3202,13 @@ MODULE_SCOPE void TclInitThreadStorage(void);
MODULE_SCOPE void TclFinalizeThreadDataThread(void);
MODULE_SCOPE void TclFinalizeThreadStorage(void);
+/* TclWideMUInt -- wide integer used for measurement calculations: */
+#if (!defined(_WIN32) || !defined(_MSC_VER) || (_MSC_VER >= 1400))
+# define TclWideMUInt Tcl_WideUInt
+#else
+/* older MSVS may not allow conversions between unsigned __int64 and double) */
+# define TclWideMUInt Tcl_WideInt
+#endif
#ifdef TCL_WIDE_CLICKS
MODULE_SCOPE Tcl_WideInt TclpGetWideClicks(void);
MODULE_SCOPE double TclpWideClicksToNanoseconds(Tcl_WideInt clicks);