Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1f8dc6fe6f78fbf7941dd2fe349d7f2fec44cea9
Ticket: 3598300fffffffffffffffffffffffffffffffff
unix: tcl.h does not include sys/stat.h
User & Date: nijtmans on 2013-01-18 22:11:20
Changes

  1. icomment:
    Donal, could you try the current "bug-3598300" branch,
    (based on core-8-5-branch) ?
    
    The logic is actually simple. In tcl.h:
    #if defined(__APPLE__)
    ...
    #   undef HAVE_STRUCT_STAT64
    #endif
    
    This #undef comes too late to be usable in tclUnixPort.h, that's the problem!
    
    This means that on __APPLE__ we simply should not
    use stat64, even though HAVE_STRUCT_STAT64 is
    defined. Better would be to change the configure
    script such that if __APPLE__ is defined that then
    HAVE_STRUCT_STAT64 is NEVER defined. But
    then TEA should be adapted as well.
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"