summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-17 21:17:27 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-17 21:17:27 (GMT)
commit7e1cb76f0617c08d56ca78ebe894a0e1f3d9d532 (patch)
tree8a84b3b1bc502162ba252e6e7a318dbb15f9749b
parent76adf66e550eb63f49a19c9ada4e49123efea2ec (diff)
downloadtcl-7e1cb76f0617c08d56ca78ebe894a0e1f3d9d532.zip
tcl-7e1cb76f0617c08d56ca78ebe894a0e1f3d9d532.tar.gz
tcl-7e1cb76f0617c08d56ca78ebe894a0e1f3d9d532.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 b8c76c0..e714471 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"