diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-14 14:10:39 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-14 14:10:39 +0000 |
commit | 675702d121650be7ff428922b0d42b3c70ee6308 (patch) | |
tree | 58cf4a441b0fd1afbc67e7e20634d0a72e95950a /ruby.h | |
parent | 55543914bd24a64e2e2872e20dd9981d92c77a3f (diff) |
* configure.in: check sizeof(rlim_t).
check setrlimit.
* process.c (proc_getrlimit): new method Process.getrlimit.
(proc_setrlimit): new method Process.setrlimit.
* ruby.h (NUM2ULL): new macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r-- | ruby.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -269,6 +269,7 @@ unsigned long rb_fix2uint _((VALUE)); LONG_LONG rb_num2ll _((VALUE)); unsigned LONG_LONG rb_num2ull _((VALUE)); # define NUM2LL(x) (FIXNUM_P(x)?FIX2LONG(x):rb_num2ll((VALUE)x)) +# define NUM2ULL(x) rb_num2ull((VALUE)x) #endif #if HAVE_LONG_LONG && SIZEOF_OFF_T > SIZEOF_LONG |