summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-12-05 23:05:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-12-05 23:05:25 (GMT)
commit7b530373393bfc62e3f8a32bdfb427e6487d1fe2 (patch)
tree3f9f3f8ef8e653c3e5c57da3cc28079ff95b2eab /generic
parentb3838ea4450c4d290daa647c9a7f62d4e55ee7c0 (diff)
downloadtcl-7b530373393bfc62e3f8a32bdfb427e6487d1fe2.zip
tcl-7b530373393bfc62e3f8a32bdfb427e6487d1fe2.tar.gz
tcl-7b530373393bfc62e3f8a32bdfb427e6487d1fe2.tar.bz2
dev_t -> unsigned for Cygwin in tcl.h, so we don't need sys/types.h any more. There's no gap in Tcl_StatBuf for 64-bit Cygwin
Diffstat (limited to 'generic')
-rw-r--r--generic/tcl.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 3a4622e..8b7c4ed 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -464,20 +464,19 @@ typedef unsigned TCL_WIDE_INT_TYPE Tcl_WideUInt;
# endif /* _MSC_VER < 1400 */
#elif defined(__CYGWIN__)
typedef struct {
- dev_t st_dev;
+ unsigned st_dev;
unsigned short st_ino;
unsigned short st_mode;
short st_nlink;
short st_uid;
short st_gid;
/* Here is a 2-byte gap */
- dev_t st_rdev;
+ unsigned st_rdev;
/* Here is a 4-byte gap */
long long st_size;
struct {long tv_sec;} st_atim;
struct {long tv_sec;} st_mtim;
struct {long tv_sec;} st_ctim;
- /* Here is a 4-byte gap */
} Tcl_StatBuf;
#elif defined(HAVE_STRUCT_STAT64) && !defined(__APPLE__)
typedef struct stat64 Tcl_StatBuf;