diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-23 11:21:11 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-23 11:21:11 +0000 |
commit | b9da060bd84c62d922db2d4b22f6d90b976c345d (patch) | |
tree | 99edf0d61f6afc2419491e003af5466c9980a28a | |
parent | 9f0cf20fbdb657530028ede4e8fabacb71ec5961 (diff) |
* ext/bigdecimal/bigdecimal.c (isfinite): get rid of a warning on
cygwin. [Bug #12417][ruby-core:75691]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/bigdecimal/bigdecimal.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Mon May 23 20:20:12 2016 NAKAMURA Usaku <[email protected]> + + * ext/bigdecimal/bigdecimal.c (isfinite): get rid of a warning on + cygwin. [Bug #12417][ruby-core:75691] + Mon May 23 19:41:27 2016 Kazuki Yamaguchi <[email protected]> * ext/openssl/ossl_rand.c (ossl_rand_egd, ossl_rand_egd_bytes): diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index 1354242b0b..c9afdf3e04 100644 --- a/ext/bigdecimal/bigdecimal.c +++ b/ext/bigdecimal/bigdecimal.c @@ -30,7 +30,7 @@ #include <ieeefp.h> #endif -#if !defined(HAVE_ISFINITE) && defined(HAVE_FINITE) +#if !defined(HAVE_ISFINITE) && defined(HAVE_FINITE) && !defined(isfinite) # define isfinite(x) finite(x) #endif |