diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-16 04:29:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-16 04:29:01 +0000 |
commit | c7d11ee1ba70525f279a7d2f3d69fd273801b624 (patch) | |
tree | dbc6abf0d1b882d988038416011a4ed8ad91bafa /configure.in | |
parent | 572807ee995ea94303cbd78d50c77c163c4a89d2 (diff) | |
download | ruby-c7d11ee1ba70525f279a7d2f3d69fd273801b624.tar.gz |
configure.in: revert macro names
* configure.in (FUNC_STDCALL, FUNC_CDECL, FUNC_FASTCALL): set
macro names explicitly to the old names, which are accidentally
changed at r54985, for backward compatibilities.
fiddle also depends on these names to fallback to ANSI names.
[ruby-core:75494] [Bug #12377]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 5bafecaa60..c1ccae57ab 100644 --- a/configure.in +++ b/configure.in @@ -1815,9 +1815,9 @@ if test "$rb_cv_func_weak" != x; then fi if_i386=${universal_binary+[defined __i386__]} -RUBY_FUNC_ATTRIBUTE(__stdcall__, [], [], ${if_i386}) -RUBY_FUNC_ATTRIBUTE(__cdecl__, [], [], ${if_i386}) -RUBY_FUNC_ATTRIBUTE(__fastcall__, [], [], ${if_i386}) +RUBY_FUNC_ATTRIBUTE(__stdcall__, FUNC_STDCALL, rb_cv_func_stdcall, ${if_i386}) +RUBY_FUNC_ATTRIBUTE(__cdecl__, FUNC_CDECL, rb_cv_func_cdecl, ${if_i386}) +RUBY_FUNC_ATTRIBUTE(__fastcall__, FUNC_FASTCALL, rb_cv_func_fastcall, ${if_i386}) RUBY_FUNC_ATTRIBUTE(__optimize__("O0"), FUNC_UNOPTIMIZED, rb_cv_func_unoptimized) RUBY_FUNC_ATTRIBUTE(__optimize__("-Os","-fomit-frame-pointer"), FUNC_MINIMIZED, rb_cv_func_minimized) |