diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-19 17:49:16 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-19 17:49:16 (GMT) |
commit | 0218abe5f52843f501c1735ffeadef3d5e9d24bd (patch) | |
tree | 3d2fb6e945d2b988e86c8bb080749552980d10e7 /generic | |
parent | 63fe76b6b89557c393f4e3eefa37ecf11a4d64bc (diff) | |
parent | 8c190c2de231c115b66ef2dc05a8d9b8da20b930 (diff) | |
download | tcl-0218abe5f52843f501c1735ffeadef3d5e9d24bd.zip tcl-0218abe5f52843f501c1735ffeadef3d5e9d24bd.tar.gz tcl-0218abe5f52843f501c1735ffeadef3d5e9d24bd.tar.bz2 |
fix Bug 3598300 on MacOSX too
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tcl.h | 2 | ||||
-rw-r--r-- | generic/tclPort.h | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index 7155453..2556a9a 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -472,7 +472,7 @@ typedef unsigned TCL_WIDE_INT_TYPE Tcl_WideUInt; struct {long tv_sec;} st_ctim; /* Here is a 4-byte gap */ } Tcl_StatBuf; -#elif defined(HAVE_STRUCT_STAT64) +#elif defined(HAVE_STRUCT_STAT64) && !defined(__APPLE__) typedef struct stat64 Tcl_StatBuf; #else typedef struct stat Tcl_StatBuf; diff --git a/generic/tclPort.h b/generic/tclPort.h index 198ee76..12a60db 100644 --- a/generic/tclPort.h +++ b/generic/tclPort.h @@ -19,13 +19,10 @@ #endif #if defined(_WIN32) # include "tclWinPort.h" -#elif !defined(MAC_OSX_TCL) +#else # include "tclUnixPort.h" #endif #include "tcl.h" -#if defined(MAC_OSX_TCL) -# include "tclUnixPort.h" -#endif #if !defined(LLONG_MIN) # ifdef TCL_WIDE_INT_IS_LONG |