Differences From 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]
To Artifact [63209e8aa4]:
- File tcl/patchscripts/win32-32bit-timet.sh — part of check-in [6874e769d6] at 2013-09-22 14:43:51 on branch trunk — Corrected issue with performing checks using wrong compiler (user: rkeene, size: 286) [annotate] [blame] [check-ins using]
1 1 #! /usr/bin/env bash 2 2 3 3 # Do not run on Win32 4 -if echo '_WIN64' | x86_64-w64-mingw32-gcc -E - | grep '^_WIN64$'; then 4 +if echo '_WIN64' | ${CC:-cc} -E - | grep '^_WIN64$'; then 5 5 ( 6 6 echo '#ifndef _USE_32BIT_TIME_T' 7 7 echo '#define _USE_32BIT_TIME_T 1' 8 8 echo '#endif' 9 9 cat generic/tcl.h 10 10 ) > generic/tcl.h.new 11 11 cat generic/tcl.h.new > generic/tcl.h 12 12 fi 13 13 14 14 exit 0