Check-in [85d560e68a]
Overview
Comment:Updated to not use 32-bit time_t on 64-bit Windows
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 85d560e68a9a56f9807a83cffee835a70c9d9740
User & Date: rkeene on 2013-07-05 20:49:01
Other Links: manifest | tags
Context
2013-07-08
20:16
Always return archive files in a deterministic order, otherwise mingw32 may fail to build kitsh correctly check-in: fa83093778 user: schelte tags: trunk
2013-07-05
20:49
Updated to not use 32-bit time_t on 64-bit Windows check-in: 85d560e68a user: rkeene tags: trunk
2013-07-04
02:20
Updated to delete only archive files in the same directory as DLLs check-in: b62421e50c user: rkeene tags: trunk
Changes

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

1
2


3
4
5
6
7
8
9








10
11
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
	(
		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