From 0c3ca9dadc82f8ee198fcebe7ca411cde6ec2200 Mon Sep 17 00:00:00 2001 From: akr Date: Wed, 14 Jun 2006 14:10:39 +0000 Subject: * 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ruby.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ruby.h') diff --git a/ruby.h b/ruby.h index dcb38f4a7..c23a60daa 100644 --- a/ruby.h +++ b/ruby.h @@ -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 -- cgit