Artifact 63209e8aa47ead8b197915c1af526af3c00ea03a:
- 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]
#! /usr/bin/env bash # Do not run on Win32 if echo '_WIN64' | ${CC:-cc} -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