Check-in [6874e769d6]
Overview
SHA1:6874e769d6c8411eea44b2aa48a796c4bb606a61
Date: 2013-09-22 14:43:51
User: rkeene
Comment:Corrected issue with performing checks using wrong compiler
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2013-09-25
03:12
[a063fafd1f] Allow building a TclKit on Win32 using MinGW against Tcl/Tk 8.6.1. (user: mistachkin, tags: trunk)
2013-09-24
21:18
[dc02a0b46a] Changes to support building with Tcl/Tk 8.6.1 using MinGW on Windows. (user: mistachkin, tags: tcl-8.6.1-MinGW-Win32)
2013-09-22
14:43
[6874e769d6] Corrected issue with performing checks using wrong compiler (user: rkeene, tags: trunk)
2013-09-15
04:35
[8553201f59] Updated to not strip kit if "--enable-symbols" is passed (user: rkeene, tags: trunk)
Changes

Modified tcl/patchscripts/win32-32bit-timet.sh from [256f7a5826] to [63209e8aa4].

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



|










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' | ${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