mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
NORETURN
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
81ef4309a2
commit
74d0eaf6a2
5 changed files with 35 additions and 13 deletions
4
ruby.h
4
ruby.h
|
@ -63,9 +63,7 @@ extern "C" {
|
|||
# define __(args) ()
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_ATTR_NORETURN
|
||||
# define NORETURN(x) x __attribute__ ((noreturn))
|
||||
#elif !defined NORETURN
|
||||
#ifndef NORETURN
|
||||
# define NORETURN(x) x
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue