summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-17 21:18:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-17 21:18:59 (GMT)
commitdad62da8e9bb494746f173ab59d4733ba2f4629a (patch)
tree2c615e195561705332df74799a49ed0ca0abdee4
parent95f897e98c8bf4fc08bf9c95aec2d3b41e9d5f41 (diff)
parent7e1cb76f0617c08d56ca78ebe894a0e1f3d9d532 (diff)
downloadtcl-dad62da8e9bb494746f173ab59d4733ba2f4629a.zip
tcl-dad62da8e9bb494746f173ab59d4733ba2f4629a.tar.gz
tcl-dad62da8e9bb494746f173ab59d4733ba2f4629a.tar.bz2
[Bug 2233954] AIX: compile error, but don't do that for _WIN32 (doesn't work in VS10)
-rw-r--r--generic/tclIOUtil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index 0837070..fa616b3 100644
--- a/generic/tclIOUtil.c
+++ b/generic/tclIOUtil.c
@@ -18,7 +18,7 @@
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
-#ifdef HAVE_SYS_STAT_H
+#if defined(HAVE_SYS_STAT_H) && !defined _WIN32
# include <sys/stat.h>
#endif
#include "tclInt.h"