diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-08 21:31:23 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-08 21:31:23 +0000 |
commit | a8e1070d9d888ac09a26d0f71a69ea6584d109d6 (patch) | |
tree | c1f4ff334a3c83d490eb99c9dee344f59a50fdd3 /include/ruby | |
parent | b3935f179b3a5668320eab59a07e4de7b747546d (diff) | |
download | ruby-a8e1070d9d888ac09a26d0f71a69ea6584d109d6.tar.gz |
* 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
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/ruby.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index 0283d7b721..c83c83406b 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -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 |