mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* signal.c (ruby_signal): use SA_SIGINFO if available.
[ ruby-Patches-6418 ] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
29c7c72e09
commit
da42035b09
4 changed files with 18 additions and 3 deletions
|
@ -472,7 +472,7 @@ VALUE rb_f_kill(int, VALUE*);
|
|||
void rb_gc_mark_trap_list(void);
|
||||
#ifdef POSIX_SIGNAL
|
||||
#define posix_signal ruby_posix_signal
|
||||
void posix_signal(int, RETSIGTYPE (*)(int));
|
||||
RETSIGTYPE (*posix_signal(int, RETSIGTYPE (*)(int)))(int);
|
||||
#endif
|
||||
void ruby_sig_finalize(void);
|
||||
void rb_trap_exit(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue