Overview
| Artifact ID: | 14c173270d215086c4dda0bdd3f73cbe8e2cace2 |
|---|---|
| Ticket: | 3598300fffffffffffffffffffffffffffffffff
unix: tcl.h does not include sys/stat.h |
| User & Date: | roflz on 2012-12-25 08:19:39 |
Changes
- icomment:
i mean this part here #elif defined(HAVE_STRUCT_STAT64) # define TclOSstat stat64 # define TclOSlstat lstat64 #else # define TclOSstat stat # define TclOSlstat lstat #endif the inclusion of stat.h comes later so whatever this tries to do, it doesn't see the stat64 macro and thus may fail. it is probably not related to the error i'm seeing. however it is very likely that the problem we're facing here has the same cause: tcl.h gets included before <sys/stat.h>, so the macro doesnt get expanded and the compiler fails to find the struct stat64.
- login: "roflz"
- mimetype: "text/plain"
- username: "roflz"