зеркало из https://github.com/github/ruby.git
* 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:
Родитель
b3935f179b
Коммит
a8e1070d9d
|
@ -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>
|
||||
|
||||
* gc.c (rb_gc_unprotect_logging): throw rb_memerror when it cannot
|
||||
|
|
|
@ -36,6 +36,12 @@ extern "C" {
|
|||
#include "defines.h"
|
||||
|
||||
#define NORETURN_STYLE_NEW 1
|
||||
#ifndef CONSTFUNC
|
||||
# define CONSTFUNC(x) x
|
||||
#endif
|
||||
#ifndef PUREFUNC
|
||||
# define PUREFUNC(x) x
|
||||
#endif
|
||||
#ifndef NORETURN
|
||||
# define NORETURN(x) x
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче