diff options
author | Steve Bennett <steveb@workware.net.au> | 2022-04-20 12:57:18 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2022-04-22 23:16:37 +1000 |
commit | 601cb02abf1f371118e8c0179eafdc2548504f69 (patch) | |
tree | 62a35359ef9935eec32e03cd6b60f67eee9d5b64 /auto.def | |
parent | 81e1890c0f595c474cabcaa83f66882005336d93 (diff) | |
download | jimtcl-601cb02abf1f371118e8c0179eafdc2548504f69.zip jimtcl-601cb02abf1f371118e8c0179eafdc2548504f69.tar.gz jimtcl-601cb02abf1f371118e8c0179eafdc2548504f69.tar.bz2 |
build: win32: Fix build with tdm-gcc10.3
Mostly we need to specifically target WinXP.
Also silence deprecation warnings.
And fix the confusion about _stat64 vs __stat64
Fixes #219
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'auto.def')
-rw-r--r-- | auto.def | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -285,6 +285,8 @@ switch -glob -- $host_os { define TCL_PLATFORM_OS $host_os define TCL_PLATFORM_PLATFORM windows define TCL_PLATFORM_PATH_SEPARATOR {;} + # Target WinXP or later. Should this be configurable? + define-append CCOPTS -D_WIN32_WINNT=0x501 -Wno-deprecated-declarations } default { # Note that cygwin is considered a unix platform |