summaryrefslogtreecommitdiffstats
path: root/generic/tclPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-18 13:58:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-18 13:58:32 (GMT)
commitb97db66908c73a912c7b14f9502bad2fd6f7971a (patch)
tree2776e4473c3e194c8e42e209457bea16817a4e82 /generic/tclPort.h
parent6fe554cad0f2191435d30324f3e2b0caf121f891 (diff)
downloadtcl-b97db66908c73a912c7b14f9502bad2fd6f7971a.zip
tcl-b97db66908c73a912c7b14f9502bad2fd6f7971a.tar.gz
tcl-b97db66908c73a912c7b14f9502bad2fd6f7971a.tar.bz2
[Bug 3598300]: unix: tcl.h does not include sys/stat.h.
(with an exception for OSX, for now)
Diffstat (limited to 'generic/tclPort.h')
-rw-r--r--generic/tclPort.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclPort.h b/generic/tclPort.h
index 7021b8d..198ee76 100644
--- a/generic/tclPort.h
+++ b/generic/tclPort.h
@@ -19,9 +19,11 @@
#endif
#if defined(_WIN32)
# include "tclWinPort.h"
+#elif !defined(MAC_OSX_TCL)
+# include "tclUnixPort.h"
#endif
#include "tcl.h"
-#if !defined(_WIN32)
+#if defined(MAC_OSX_TCL)
# include "tclUnixPort.h"
#endif