1
0
Fork 0
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:
usa 2016-05-08 21:31:23 +00:00
parent b3935f179b
commit a8e1070d9d
2 changed files with 11 additions and 0 deletions

View file

@ -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

View file

@ -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