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 | d0d1df0611461f2ab909df3c252babbbad446e13 (patch) | |
tree | 99edf0d61f6afc2419491e003af5466c9980a28a /ext/bigdecimal/bigdecimal.c | |
parent | bb900ff48b2358003c8b46d4699212a3c28aa8db (diff) | |
download | ruby-d0d1df0611461f2ab909df3c252babbbad446e13.tar.gz |
* 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
Diffstat (limited to 'ext/bigdecimal/bigdecimal.c')
-rw-r--r-- | ext/bigdecimal/bigdecimal.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |