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)
commit816626b12f1f41ae71eeb7f18ff38b113d2f5766 (patch)
tree2776e4473c3e194c8e42e209457bea16817a4e82 /generic/tclPort.h
parentd1e73c606588fdbebcc989f73fe23e2402285a28 (diff)
downloadtcl-816626b12f1f41ae71eeb7f18ff38b113d2f5766.zip
tcl-816626b12f1f41ae71eeb7f18ff38b113d2f5766.tar.gz
tcl-816626b12f1f41ae71eeb7f18ff38b113d2f5766.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