Skip to content

Commit

Permalink
Slightly better binary compatibility between 8.7 and 9.0 on win64 and…
Browse files Browse the repository at this point in the history
… cygwin: for those platforms keep "usec" in Tcl_Time 32-bit.
  • Loading branch information
jan.nijtmans committed Aug 29, 2023
1 parent 7896482 commit f683d1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generic/tcl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f683d1f

Please sign in to comment.