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      1   #! /usr/bin/env bash
     2      2   
     3         -(
     4         -	echo '#ifndef _USE_32BIT_TIME_T'
     5         -	echo '#define _USE_32BIT_TIME_T 1'
     6         -	echo '#endif'
     7         -	cat generic/tcl.h
     8         -) > generic/tcl.h.new
     9         -cat generic/tcl.h.new > generic/tcl.h
            3  +# Do not run on Win32
            4  +if echo '_WIN64' | x86_64-w64-mingw32-gcc -E - | grep '^_WIN64$'; then
            5  +	(
            6  +		echo '#ifndef _USE_32BIT_TIME_T'
            7  +		echo '#define _USE_32BIT_TIME_T 1'
            8  +		echo '#endif'
            9  +		cat generic/tcl.h
           10  +	) > generic/tcl.h.new
           11  +	cat generic/tcl.h.new > generic/tcl.h
           12  +fi
    10     13   
    11     14   exit 0