summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-16 17:05:39 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-16 19:10:37 +0900
commitddb93c3d64b8997c85f23c96a73ad0a9a7f82ad1 (patch)
tree7598577c222c85f993752710f2bc2c4f7575051a /include
parent5193fbb6d0dedfbc2b3c017456fb58a13136de01 (diff)
Made LARGEFILE_SUPPORT mandatory
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3914
Diffstat (limited to 'include')
-rw-r--r--include/ruby/win32.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h
index aac1c22324..b34f0b41ff 100644
--- a/include/ruby/win32.h
+++ b/include/ruby/win32.h
@@ -191,7 +191,6 @@ struct stati128 {
long st_ctimensec;
};
-#if SIZEOF_OFF_T == 8
#define off_t __int64
#define stat stati128
#undef SIZEOF_STRUCT_STAT_ST_INO
@@ -202,12 +201,6 @@ struct stati128 {
#define HAVE_STRUCT_STAT_ST_CTIMENSEC
#define fstat(fd,st) rb_w32_fstati128(fd,st)
#define stati128(path, st) rb_w32_stati128(path,st)
-#else
-#define stat(path,st) rb_w32_stat(path,st)
-#define fstat(fd,st) rb_w32_fstat(fd,st)
-extern int rb_w32_stat(const char *, struct stat *);
-extern int rb_w32_fstat(int, struct stat *);
-#endif
#define lstat(path,st) rb_w32_lstati128(path,st)
#define access(path,mode) rb_w32_access(path,mode)