From f683d1f8378622690e138ae741cd08b05a9871f9 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Tue, 29 Aug 2023 19:35:37 +0000 Subject: Slightly better binary compatibility between 8.7 and 9.0 on win64 and cygwin: for those platforms keep "usec" in Tcl_Time 32-bit. --- generic/tcl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generic/tcl.h b/generic/tcl.h index e2e3738..a2d00d9 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -1300,8 +1300,8 @@ typedef struct Tcl_Time { #else long sec; /* Seconds. */ #endif -#if defined(_WIN32) && defined(_WIN64) && TCL_MAJOR_VERSION > 8 - long long usec; /* Microseconds. */ +#if defined(_CYGWIN_) && TCL_MAJOR_VERSION > 8 + int usec; /* Microseconds. */ #else long usec; /* Microseconds. */ #endif -- cgit v0.12