summaryrefslogtreecommitdiffstats
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-12 06:56:09 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-12 06:56:09 +0000
commit3a960138ebe591f4faf9fb943e3e86f72e2feb22 (patch)
tree5acf171b97b3bb42bf8f4ee3581dd79f3f427637 /win32/Makefile.sub
parentd876ede3a453a78e98d741b161ce5cd4f853290e (diff)
downloadruby-3a960138ebe591f4faf9fb943e3e86f72e2feb22.tar.gz
ruby-3a960138ebe591f4faf9fb943e3e86f72e2feb22.tar.xz
ruby-3a960138ebe591f4faf9fb943e3e86f72e2feb22.zip
* configure.in, bcc32/Makefile.sub, win32/Makefile.sub, win32/dir.h,
win32/win32.c, win32/win32.h: large file support for win32. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub7
1 files changed, 5 insertions, 2 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 676f0e66a..9a361d482 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -237,7 +237,8 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub
#define SIZEOF_LONG_LONG 0
!endif
#define SIZEOF___INT64 8
-#define SIZEOF_OFF_T 4
+#define _INTEGRAL_MAX_BITS 64
+#define SIZEOF_OFF_T 8
#define SIZEOF_VOIDP 4
#define SIZEOF_FLOAT 4
#define SIZEOF_DOUBLE 8
@@ -297,7 +298,9 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub
#define HAVE_WAITPID 1
#define HAVE_FSYNC 1
#define HAVE_GETCWD 1
-#define HAVE_CHSIZE 1
+#define HAVE_TRUNCATE 1
+#define HAVE_FSEEKO 1
+#define HAVE_FTELLO 1
#define HAVE_TIMES 1
#define HAVE_FCNTL 1
#define HAVE_LINK 1