mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* include/ruby/ruby.h (CONSTFUNC, PUREFUNC): fixed build errors on
non-gcc build environments introduced at r54952. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b3935f179b
commit
a8e1070d9d
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Mon May 9 06:30:12 2016 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* include/ruby/ruby.h (CONSTFUNC, PUREFUNC): fixed build errors on
|
||||||
|
non-gcc build environments introduced at r54952.
|
||||||
|
|
||||||
Mon May 9 02:51:51 2016 NARUSE, Yui <naruse@ruby-lang.org>
|
Mon May 9 02:51:51 2016 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* gc.c (rb_gc_unprotect_logging): throw rb_memerror when it cannot
|
* gc.c (rb_gc_unprotect_logging): throw rb_memerror when it cannot
|
||||||
|
|
|
@ -36,6 +36,12 @@ extern "C" {
|
||||||
#include "defines.h"
|
#include "defines.h"
|
||||||
|
|
||||||
#define NORETURN_STYLE_NEW 1
|
#define NORETURN_STYLE_NEW 1
|
||||||
|
#ifndef CONSTFUNC
|
||||||
|
# define CONSTFUNC(x) x
|
||||||
|
#endif
|
||||||
|
#ifndef PUREFUNC
|
||||||
|
# define PUREFUNC(x) x
|
||||||
|
#endif
|
||||||
#ifndef NORETURN
|
#ifndef NORETURN
|
||||||
# define NORETURN(x) x
|
# define NORETURN(x) x
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue