diff options
Diffstat (limited to 'include/ruby/defines.h')
-rw-r--r-- | include/ruby/defines.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ruby/defines.h b/include/ruby/defines.h index 411b912358..1a0274ec81 100644 --- a/include/ruby/defines.h +++ b/include/ruby/defines.h @@ -278,6 +278,11 @@ void rb_ia64_flushrs(void); #define RUBY_PLATFORM "unknown-unknown" #endif +#ifndef RUBY_ALIAS_FUNCTION +#define RUBY_ALIAS_FUNCTION(old_prot, new_name, args) \ + VALUE old_prot {return new_name args;} +#endif + #if defined(__cplusplus) #if 0 { /* satisfy cc-mode */ |