summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index c0bf9c2..2d505b1 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -1295,8 +1295,16 @@ typedef enum {
*/
typedef struct Tcl_Time {
+#if TCL_MAJOR_VERSION > 8
+ long long sec; /* Seconds. */
+#else
long sec; /* Seconds. */
+#endif
+#if defined(_WIN32) && TCL_MAJOR_VERSION > 8
+ long long usec; /* Microseconds. */
+#else
long usec; /* Microseconds. */
+#endif
} Tcl_Time;
typedef void (Tcl_SetTimerProc) (const Tcl_Time *timePtr);