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



|







1
2
3
4
5
6
7
8
9
10
11
#! /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