diff options
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r-- | unix/tclUnixPort.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index 59a35ba..44ace74 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -104,12 +104,12 @@ 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) && !defined(__APPLE__) -# define TclOSstat stat64 -# define TclOSlstat lstat64 -#else +#elif defined(HAVE_NO_STRUCT_STAT64) # define TclOSstat stat # define TclOSlstat lstat +#else +# define TclOSstat stat64 +# define TclOSlstat lstat64 #endif /* |