Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e3f4c3969310b5d6c9abf0929fd58ff0b2775f8f
Ticket: 3598300fffffffffffffffffffffffffffffffff
unix: tcl.h does not include sys/stat.h
User & Date: nijtmans on 2013-01-17 20:47:19
Changes

  1. icomment:
    Both tclWinPort.h and tclUnixPort.h should be before tcl.h, so if e.g.<sys/stat.h>
    contains the following fragment:
        ==== <sys/stat.h> ====
        #define stat stat64
        ==== end fragment ====
    then tcl.h will pick it up on the Tcl_StatBuf definition.
    
    Is HAVE_STRUCT_STAT64 defined on OSX? If not, that could be the bug.
    
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"