aboutsummaryrefslogtreecommitdiffstats
path: root/win32
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 /win32
parent5193fbb6d0dedfbc2b3c017456fb58a13136de01 (diff)
downloadruby-ddb93c3d64b8997c85f23c96a73ad0a9a7f82ad1.tar.gz
Made LARGEFILE_SUPPORT mandatory
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile.sub7
1 files changed, 0 insertions, 7 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 2f146a87f7..46cca974e6 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -24,9 +24,6 @@ REVISION_FORCE = PHONY
!ifndef CROSS_COMPILING
CROSS_COMPILING = no
!endif
-!ifndef LARGEFILE_SUPPORT
-LARGEFILE_SUPPORT = 1
-!endif
!ifndef win_srcdir
win_srcdir = $(srcdir)/win32
!endif
@@ -639,11 +636,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub
#ifndef _INTEGRAL_MAX_BITS
#define _INTEGRAL_MAX_BITS 64
#endif
-!if $(LARGEFILE_SUPPORT)
#define SIZEOF_OFF_T 8
-!else
-#define SIZEOF_OFF_T 4
-!endif
!if "$(ARCH)" == "x64"
#define SIZEOF_VOIDP 8
!else