Overview
| Artifact ID: | b3b8f3bab526caca603d7f5fd5daa83c5bce39e9 |
|---|---|
| Ticket: | 3474726fffffffffffffffffffffffffffffffff
minGW Tcl_StatBuf not defined correctly in tcl.h |
| User & Date: | nijtmans on 2012-01-19 19:54:11 |
Changes
- icomment:
Even though this is not Tcl's fault, there is something we can do to make it easier for extensions to support older mingw versions. Proposal: change the tcl.h line: # elif (defined(_MSC_VER) && (_MSC_VER < 1400)) to # elif (defined(_MSC_VER) && (_MSC_VER < 1400)) || defined(_USE_32BIT_TIME_T) Then extension can simply define _USE_32BIT_TIME_T, which makes Tcl use _stati64, which is available in all mingw versions. Then the _stat32i64 definition in tclWinPort.h is only necessary for cygwin, which makes the detection logic unnecessary. It's much simpler, both for Tcl and for extensions
- login: "nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Accepted"
- status changed to: "Open"
- username: "nijtmans"