summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index 48f7894..c8013e6 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -14,11 +14,6 @@
#ifndef _TCLWINPORT
#define _TCLWINPORT
-#if !defined(_WIN64) && defined(BUILD_tcl)
-/* See [Bug 3354324]: file mtime sets wrong time */
-# define _USE_32BIT_TIME_T
-#endif
-
/*
* We must specify the lower version we intend to support.
*
@@ -31,6 +26,9 @@
#ifndef _WIN32_WINNT
# define _WIN32_WINNT 0x0501
#endif
+#ifndef __MSVCRT_VERSION__
+# define __MSVCRT_VERSION__ 0x0601
+#endif
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
@@ -115,7 +113,6 @@ typedef DWORD_PTR * PDWORD_PTR;
#endif /* __MWERKS__ */
#include <time.h>
-
/*
* The following defines redefine the Windows Socket errors as
* BSD errors so Tcl_PosixError can do the right thing.