summaryrefslogtreecommitdiffstats
path: root/ruby.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-03-27 05:28:00 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-03-27 05:28:00 +0000
commit996e9027f662e287be9a5cdd51102c47fe6c927f (patch)
tree8fae71a5750ce9e904173dca72793f46da2652f5 /ruby.h
parent4adb524686f3beece518dfc54df48d8afcb437c8 (diff)
downloadruby-996e9027f662e287be9a5cdd51102c47fe6c927f.tar.gz
ruby-996e9027f662e287be9a5cdd51102c47fe6c927f.tar.xz
ruby-996e9027f662e287be9a5cdd51102c47fe6c927f.zip
* io.c (rb_io_sysseek): new method based on a patch from Aristarkh
A Zagorodnikov <xm@bolotov-team.ru>. [new] * io.c (READ_DATA_PENDING): use !feof(fp) for default behavior. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby.h b/ruby.h
index 24d3e0441..7bdc82772 100644
--- a/ruby.h
+++ b/ruby.h
@@ -139,7 +139,7 @@ VALUE rb_ull2inum _((unsigned LONG_LONG));
#define ULL2NUM(v) rb_ull2inum(v)
#endif
-#if SIZEOF_OFF_T > SIZEOF_LONG && HAVE_LONG_LONG
+#if SIZEOF_OFF_T > SIZEOF_LONG && defined(HAVE_LONG_LONG)
# define OFFT2NUM(v) LL2NUM(v)
#else
# define OFFT2NUM(v) INT2NUM(v)