mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix condition
* include/ruby/defines.h (RUBY_ATTR_ALLOC_SIZE): fix condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
19f7dd85c4
commit
d5a93ed109
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Tue May 26 21:35:13 2015 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
|
||||||
|
|
||||||
|
* include/ruby/defines.h (RUBY_ATTR_ALLOC_SIZE): fix condition.
|
||||||
|
|
||||||
Mon May 25 22:35:58 2015 NAKAMURA Usaku <usa@ruby-lang.org>
|
Mon May 25 22:35:58 2015 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* tool/redmine-backporter.rb (rel): after the relations is changed,
|
* tool/redmine-backporter.rb (rel): after the relations is changed,
|
||||||
|
|
|
@ -112,7 +112,7 @@ RUBY_SYMBOL_EXPORT_BEGIN
|
||||||
#define xrealloc2 ruby_xrealloc2
|
#define xrealloc2 ruby_xrealloc2
|
||||||
#define xfree ruby_xfree
|
#define xfree ruby_xfree
|
||||||
|
|
||||||
#if defined(__GNUC__) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 3
|
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))
|
||||||
# define RUBY_ATTR_ALLOC_SIZE(params) __attribute__ ((__alloc_size__ params))
|
# define RUBY_ATTR_ALLOC_SIZE(params) __attribute__ ((__alloc_size__ params))
|
||||||
#else
|
#else
|
||||||
# define RUBY_ATTR_ALLOC_SIZE(params)
|
# define RUBY_ATTR_ALLOC_SIZE(params)
|
||||||
|
|
Loading…
Reference in a new issue