build: Check for 32-bit time_t at configure time
commitbd7037fdd108729999cfb32a1304abd0eec1d1ad
authorSteve Bennett <steveb@workware.net.au>
Wed, 4 Mar 2020 23:08:34 +0000 (5 09:08 +1000)
committerSteve Bennett <steveb@workware.net.au>
Thu, 5 Mar 2020 12:38:34 +0000 (5 22:38 +1000)
tree17249b496cbcbe72d6e8238ddca83aed054f0810
parent2e8d9d5014cac46b9486a88307436f74a7a3784c
build: Check for 32-bit time_t at configure time

To warn of Y2038 problems, and suggest use of -D__MINGW_USE_VC2005_COMPAT
on mingw32. Do this instead of the previous runtime test.

Add -D__MINGW_USE_VC2005_COMPAT to the appveyor build.

Fixes msteveb/jimtcl#145

Signed-off-by: Steve Bennett <steveb@workware.net.au>
appveyor.yml
auto.def
tests/clock.test