summaryrefslogtreecommitdiffstats
path: root/generic/tclDecls.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-04 10:08:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-04 10:08:18 (GMT)
commit6285c1336732a6a7db1fc3627dad6fe6176fbee6 (patch)
tree7c4249164c4ba0093fe8b769177ba145d0907f16 /generic/tclDecls.h
parentda55e192bada61cba9efadb0058ef921f548c5ed (diff)
downloadtcl-6285c1336732a6a7db1fc3627dad6fe6176fbee6.zip
tcl-6285c1336732a6a7db1fc3627dad6fe6176fbee6.tar.gz
tcl-6285c1336732a6a7db1fc3627dad6fe6176fbee6.tar.bz2
Fix [1b8df10110]: Tcl_GetTime returns wrong usec value on Windows
Diffstat (limited to 'generic/tclDecls.h')
-rw-r--r--generic/tclDecls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclDecls.h b/generic/tclDecls.h
index 6723069..8fc926c 100644
--- a/generic/tclDecls.h
+++ b/generic/tclDecls.h
@@ -4035,7 +4035,7 @@ extern const TclStubs *tclStubsPtr;
/* Handle Win64 tk.dll being loaded in Cygwin64. */
# define Tcl_GetTime(t) \
do { \
- union { \
+ struct { \
Tcl_Time now; \
__int64 reserved; \
} _t; \