summaryrefslogtreecommitdiffstats
path: root/win/tclWinTime.c
diff options
context:
space:
mode:
Diffstat (limited to 'win/tclWinTime.c')
-rw-r--r--win/tclWinTime.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/win/tclWinTime.c b/win/tclWinTime.c
index 8fdc071..1e23459 100644
--- a/win/tclWinTime.c
+++ b/win/tclWinTime.c
@@ -10,6 +10,9 @@
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
+#if defined(_WIN32) && !defined(_WIN64)
+# define _USE_32BIT_TIME_T
+#endif
#include "tclWinInt.h"
#define SECSPERDAY (60L * 60L * 24L)