diff options
Diffstat (limited to 'include')
-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 |