* include/ruby/defines.h (RUBY_ALIAS_FUNCTION): fallback definition.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-08-14 06:27:50 +00:00
parent bcae240f19
commit 012c5ca966
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Thu Aug 14 15:27:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/defines.h (RUBY_ALIAS_FUNCTION): fallback definition.
Thu Aug 14 15:08:17 2008 Tanaka Akira <akr@fsij.org>
* transcode_data.h (rb_trans_result_t): new enumeration constant:

View File

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