Overview
| Artifact ID: | ef1140709a2de5c3db8d6c4b19a7ba64e3965eec |
|---|---|
| Ticket: | 3598300fffffffffffffffffffffffffffffffff
unix: tcl.h does not include sys/stat.h |
| User & Date: | twylite on 2013-01-17 20:50:05 |
Changes
- icomment:
dkf: Yes, there is (a reason why tclWinPort.h is before tcl.h in tclPort.h). It's to make sure that _USE_32BIT_TIME_T is defined before you include tcl.h, so that the tcl.h handling of statbuf gives the correct definition: #if defined(__WIN32__) # ifdef __BORLANDC__ typedef struct stati64 Tcl_StatBuf; # elif defined(_WIN64) typedef struct __stat64 Tcl_StatBuf; # elif (defined(_MSC_VER) && (_MSC_VER < 1400)) || defined(_USE_32BIT_TIME_T) typedef struct _stati64Tcl_StatBuf; # else typedef struct _stat32i64 Tcl_StatBuf; # endif /* _MSC_VER < 1400 */
- login: "twylite"
- mimetype: "text/plain"
- username: "twylite"