summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-03-15 08:33:40 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-03-15 08:33:40 (GMT)
commit5951111e7bd60ce89b6da27941bd851b5e41d133 (patch)
tree7e7b8f1ba5dde72194d013cbfa12d0d6cf3463ca /unix/tclUnixPort.h
parent180ed90a9fa30d1ae798dd7c40c1214767587e6a (diff)
downloadtcl-5951111e7bd60ce89b6da27941bd851b5e41d133.zip
tcl-5951111e7bd60ce89b6da27941bd851b5e41d133.tar.gz
tcl-5951111e7bd60ce89b6da27941bd851b5e41d133.tar.bz2
x
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index e4008c9..fef748b 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -73,7 +73,12 @@ typedef off_t Tcl_SeekOffset;
# define TclOSopen open
#endif
-#ifdef HAVE_STRUCT_STAT64
+#ifdef __CYGWIN__
+MODULE_SCOPE int TclOSstat(const char *name, Tcl_StatBuf *statBuf);
+MODULE_SCOPE int TclOSlstat(const char *name, Tcl_StatBuf *statBuf);
+#undef HAVE_STRUCT_STAT_ST_BLOCKS
+#undef HAVE_STRUCT_STAT_ST_BLKSIZE
+#elif defined(HAVE_STRUCT_STAT64)
# define TclOSstat stat64
# define TclOSlstat lstat64
#else