diff options
| author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-01-18 15:07:18 (GMT) |
|---|---|---|
| committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-01-18 15:07:18 (GMT) |
| commit | 5a4b1d3af8161a23d2c70e20c35fe233c0feec97 (patch) | |
| tree | cf7746a63216f18ebf06a35801494a47d5e4ea1b /unix | |
| parent | 6cbbb326673f3f24b041f96a3729dd8ababb765a (diff) | |
| download | tcl-5a4b1d3af8161a23d2c70e20c35fe233c0feec97.zip tcl-5a4b1d3af8161a23d2c70e20c35fe233c0feec97.tar.gz tcl-5a4b1d3af8161a23d2c70e20c35fe233c0feec97.tar.bz2 | |
Proposed solution for Bug 3598300 on MacOSX
Diffstat (limited to 'unix')
| -rw-r--r-- | unix/tclUnixFCmd.c | 2 | ||||
| -rw-r--r-- | unix/tclUnixPort.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c index 79f115e..d655990 100644 --- a/unix/tclUnixFCmd.c +++ b/unix/tclUnixFCmd.c @@ -232,7 +232,7 @@ MODULE_SCOPE long tclMacOSXDarwinRelease; #endif /* NO_REALPATH */ #ifdef HAVE_FTS -#ifdef HAVE_STRUCT_STAT64 +#if defined(HAVE_STRUCT_STAT64) && !defined(__APPLE__) /* fts doesn't do stat64 */ #define noFtsStat 1 #elif defined(__APPLE__) && defined(__LP64__) && \ diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index 99c564b..7cfeec0 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -100,7 +100,7 @@ typedef off_t Tcl_SeekOffset; extern char **__cygwin_environ; extern int TclOSstat(const char *name, void *statBuf); extern int TclOSlstat(const char *name, void *statBuf); -#elif defined(HAVE_STRUCT_STAT64) +#elif defined(HAVE_STRUCT_STAT64) && !defined(__APPLE__) # define TclOSstat stat64 # define TclOSlstat lstat64 #else |
