diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-08 14:12:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-08 14:12:52 +0000 |
commit | 9487b2cdfc05b6ee0a739676526067daa59e4e4a (patch) | |
tree | b19b8eef70a4632d2a446a223e29cc421f78697d /numeric.c | |
parent | 444f08f6619a65c06a1add22cae361e21c6dc934 (diff) | |
download | ruby-9487b2cdfc05b6ee0a739676526067daa59e4e4a.tar.gz |
numeric.c: for strict ANSI
* numeric.c (finite): add declaration for strict ANSI.
[ruby-core:55312] [Bug #8495]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -30,6 +30,10 @@ #include <ieeefp.h> #endif +#if defined HAVE_FINITE && !defined finite +extern int finite(double); +#endif + /* use IEEE 64bit values if not defined */ #ifndef FLT_RADIX #define FLT_RADIX 2 |