mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
signal.c: get rid of system name
* signal.c (sighandler_t): get rid of clash with system provided name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
be903332c6
commit
7f41aa5f09
1 changed files with 2 additions and 0 deletions
2
signal.c
2
signal.c
|
@ -453,6 +453,8 @@ static struct {
|
|||
|
||||
#ifdef __dietlibc__
|
||||
#define sighandler_t sh_t
|
||||
#else
|
||||
#define sighandler_t ruby_sighandler_t
|
||||
#endif
|
||||
|
||||
typedef RETSIGTYPE (*sighandler_t)(int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue