summaryrefslogtreecommitdiffstats
path: root/generic/tclPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-17 08:38:41 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-17 08:38:41 (GMT)
commit4a5ef05df5be16afdfdbf1a38f32d72bb3654f7f (patch)
tree22b65965f9b38c6616be9189ca8a6b64dc72e478 /generic/tclPort.h
parent445ffe85310c4a5853d313305b11a4323605c29c (diff)
parent6fe554cad0f2191435d30324f3e2b0caf121f891 (diff)
downloadtcl-4a5ef05df5be16afdfdbf1a38f32d72bb3654f7f.zip
tcl-4a5ef05df5be16afdfdbf1a38f32d72bb3654f7f.tar.gz
tcl-4a5ef05df5be16afdfdbf1a38f32d72bb3654f7f.tar.bz2
revert [8abba84224], and make sure that every source file that uses Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
Diffstat (limited to 'generic/tclPort.h')
-rw-r--r--generic/tclPort.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclPort.h b/generic/tclPort.h
index 12a60db..7021b8d 100644
--- a/generic/tclPort.h
+++ b/generic/tclPort.h
@@ -19,10 +19,11 @@
#endif
#if defined(_WIN32)
# include "tclWinPort.h"
-#else
-# include "tclUnixPort.h"
#endif
#include "tcl.h"
+#if !defined(_WIN32)
+# include "tclUnixPort.h"
+#endif
#if !defined(LLONG_MIN)
# ifdef TCL_WIDE_INT_IS_LONG