mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix the sizes comparison
`proc_syswait` will be called with a `VALUE` argument.
This commit is contained in:
parent
466a760e18
commit
f245b425af
1 changed files with 1 additions and 1 deletions
|
|
@ -3773,7 +3773,7 @@ rb_exec_atfork(void* arg, char *errmsg, size_t errmsg_buflen)
|
|||
return rb_exec_async_signal_safe(arg, errmsg, errmsg_buflen); /* hopefully async-signal-safe */
|
||||
}
|
||||
|
||||
#if SIZEOF_INT == SIZEOF_LONG
|
||||
#if SIZEOF_INT == SIZEOF_VALUE
|
||||
#define proc_syswait (VALUE (*)(VALUE))rb_syswait
|
||||
#else
|
||||
static VALUE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue