mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* include/ruby/defines.h (GCC_VERSION_SINCE): Fix logic error by
adding parentheses. Fix failures of TestMkmf::TestConvertible with GCC 3.4.3 on Solaris 10. [Bug #12479] [ruby-dev:49660] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
49cc12f6da
commit
8a8d3e2ed4
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
Sat Jun 11 01:38:31 2016 Naohisa Goto <ngotogenome@gmail.com>
|
||||
|
||||
* include/ruby/defines.h (GCC_VERSION_SINCE): Fix logic error by
|
||||
adding parentheses. Fix failures of TestMkmf::TestConvertible
|
||||
with GCC 3.4.3 on Solaris 10. [Bug #12479] [ruby-dev:49660]
|
||||
|
||||
Fri Jun 10 21:54:24 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/forwardable.rb (Forwardable._delegator_method): extract
|
||||
|
|
|
@ -63,8 +63,8 @@ extern "C" {
|
|||
(defined(__GNUC__) && !defined(__INTEL_COMPILER) && !defined(__clang__) && \
|
||||
((__GNUC__ > (major)) || \
|
||||
((__GNUC__ == (major) && \
|
||||
(__GNUC_MINOR__ > (minor)) || \
|
||||
(__GNUC_MINOR__ == (minor) && __GNUC_PATCHLEVEL__ >= (patchlevel))))))
|
||||
((__GNUC_MINOR__ > (minor)) || \
|
||||
(__GNUC_MINOR__ == (minor) && __GNUC_PATCHLEVEL__ >= (patchlevel)))))))
|
||||
#endif
|
||||
|
||||
/* likely */
|
||||
|
|
Loading…
Add table
Reference in a new issue