summaryrefslogtreecommitdiffstats
path: root/generic/tclPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-17 08:28:41 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-17 08:28:41 (GMT)
commit6fe554cad0f2191435d30324f3e2b0caf121f891 (patch)
tree930157a76bae9baa66ed91c67daa62f047f8db3d /generic/tclPort.h
parent3db744b60506ba65731f996d7e3dc5224d232bc9 (diff)
downloadtcl-6fe554cad0f2191435d30324f3e2b0caf121f891.zip
tcl-6fe554cad0f2191435d30324f3e2b0caf121f891.tar.gz
tcl-6fe554cad0f2191435d30324f3e2b0caf121f891.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