Differences From Artifact [ecac082458]:
- File tcl/patchscripts/win32-32bit-timet.sh — part of check-in [1e19f573c8] at 2012-05-06 22:21:16 on branch trunk — Minor update to clean-up warnings (user: rkeene, size: 196) [annotate] [blame] [check-ins using]
To Artifact [256f7a5826]:
- File tcl/patchscripts/win32-32bit-timet.sh — part of check-in [85d560e68a] at 2013-07-05 20:49:01 on branch trunk — Updated to not use 32-bit time_t on 64-bit Windows (user: rkeene, size: 299) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 11 |
#! /usr/bin/env bash ( echo '#ifndef _USE_32BIT_TIME_T' echo '#define _USE_32BIT_TIME_T 1' echo '#endif' cat generic/tcl.h ) > generic/tcl.h.new cat generic/tcl.h.new > generic/tcl.h exit 0 |
> > | | | | | | | > |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
#! /usr/bin/env bash # Do not run on Win32 if echo '_WIN64' | x86_64-w64-mingw32-gcc -E - | grep '^_WIN64$'; then ( echo '#ifndef _USE_32BIT_TIME_T' echo '#define _USE_32BIT_TIME_T 1' echo '#endif' cat generic/tcl.h ) > generic/tcl.h.new cat generic/tcl.h.new > generic/tcl.h fi exit 0 |