summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-03-28 14:27:56 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-03-28 14:27:56 (GMT)
commitd9dc3c7c3c720547bce9b9260cb6200ebaed735a (patch)
treed2659e334f577bdec8f61c362091ad0205b8c021 /unix/tclUnixPort.h
parent5c3fdea6d8c78852aab5bfa588ec6109c1af4b8e (diff)
parent1251bcbcc6272da5c31c077c03ce238cfde19844 (diff)
downloadtcl-d9dc3c7c3c720547bce9b9260cb6200ebaed735a.zip
tcl-d9dc3c7c3c720547bce9b9260cb6200ebaed735a.tar.gz
tcl-d9dc3c7c3c720547bce9b9260cb6200ebaed735a.tar.bz2
merge trunk
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 2666fb5..48aef9c 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -78,7 +78,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