summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r--winsup/cygwin/include/cygwin/stat.h4
-rw-r--r--winsup/cygwin/include/cygwin/types.h6
2 files changed, 4 insertions, 6 deletions
diff --git a/winsup/cygwin/include/cygwin/stat.h b/winsup/cygwin/include/cygwin/stat.h
index 1c1a5cd1f..a21e731b8 100644
--- a/winsup/cygwin/include/cygwin/stat.h
+++ b/winsup/cygwin/include/cygwin/stat.h
@@ -26,7 +26,7 @@ struct __stat32
__uid16_t st_uid;
__gid16_t st_gid;
__dev16_t st_rdev;
- __off32_t st_size;
+ _off_t st_size;
timestruc_t st_atim;
timestruc_t st_mtim;
timestruc_t st_ctim;
@@ -44,7 +44,7 @@ struct __stat64
__uid32_t st_uid;
__gid32_t st_gid;
__dev32_t st_rdev;
- __off64_t st_size;
+ _off64_t st_size;
timestruc_t st_atim;
timestruc_t st_mtim;
timestruc_t st_ctim;
diff --git a/winsup/cygwin/include/cygwin/types.h b/winsup/cygwin/include/cygwin/types.h
index 793157e61..d5173b94b 100644
--- a/winsup/cygwin/include/cygwin/types.h
+++ b/winsup/cygwin/include/cygwin/types.h
@@ -31,12 +31,10 @@ typedef struct timespec timestruc_t;
#ifndef __off_t_defined
#define __off_t_defined
-typedef long __off32_t;
-typedef long long __off64_t;
#ifdef __CYGWIN_USE_BIG_TYPES__
-typedef __off64_t off_t;
+typedef _off64_t off_t;
#else
-typedef __off32_t off_t;
+typedef _off_t off_t;
#endif
#endif /*__off_t_defined*/