Check-in [85d560e68a]
Overview
SHA1:85d560e68a9a56f9807a83cffee835a70c9d9740
Date: 2013-07-05 20:49:01
User: rkeene
Comment:Updated to not use 32-bit time_t on 64-bit Windows
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2013-07-08
20:16
[fa83093778] Always return archive files in a deterministic order, otherwise mingw32 may fail to build kitsh correctly (user: schelte, tags: trunk)
2013-07-05
20:49
[85d560e68a] Updated to not use 32-bit time_t on 64-bit Windows (user: rkeene, tags: trunk)
2013-07-04
02:20
[b62421e50c] Updated to delete only archive files in the same directory as DLLs (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
#! /usr/bin/env bash



(
	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


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