From b1329e3b63193730837e189b927a97cb1d73f3ba Mon Sep 17 00:00:00 2001 From: kosaki Date: Sun, 6 Mar 2011 14:47:27 +0000 Subject: * configure.in: rlim_t use standard RUBY_REPLACE_TYPE mechanism. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'process.c') diff --git a/process.c b/process.c index a216291595..51f3804f63 100644 --- a/process.c +++ b/process.c @@ -122,17 +122,6 @@ static VALUE rb_cProcessTms; #endif #endif -#if SIZEOF_RLIM_T == SIZEOF_INT -# define RLIM2NUM(v) UINT2NUM(v) -# define NUM2RLIM(v) NUM2UINT(v) -#elif SIZEOF_RLIM_T == SIZEOF_LONG -# define RLIM2NUM(v) ULONG2NUM(v) -# define NUM2RLIM(v) NUM2ULONG(v) -#elif SIZEOF_RLIM_T == SIZEOF_LONG_LONG -# define RLIM2NUM(v) ULL2NUM(v) -# define NUM2RLIM(v) NUM2ULL(v) -#endif - #define preserving_errno(stmts) \ do {int saved_errno = errno; stmts; errno = saved_errno;} while (0) -- cgit v1.2.3