summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-06 14:04:05 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-06 14:04:05 +0000
commitee40e2386472d6cd05dd64a036a0395473f38554 (patch)
treecc9f152d04fa15a5add1308b742dd8ecceedf4f9 /process.c
parent9e31b97465f7c837456350904833bc425f53cdb2 (diff)
* configure.in (ac_cv_sizeof_rlim_t): setup for DJGPP.
* io.c (is_socket, shutdown): define dummy macros for DJGPP. * process.c: use SIZEOF_RLIM_T instead of HAVE_RLIM_T for DJGPP. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.c b/process.c
index ca37d87291..c3b9647520 100644
--- a/process.c
+++ b/process.c
@@ -1941,7 +1941,7 @@ proc_setpriority(obj, which, who, prio)
#endif
}
-#ifdef HAVE_RLIM_T
+#if SIZEOF_RLIM_T
#if SIZEOF_RLIM_T == SIZEOF_INT
# define RLIM2NUM(v) UINT2NUM(v)
# define NUM2RLIM(v) NUM2UINT(v)