summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-10 06:33:34 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-10 06:33:34 +0000
commit09b02349c212cac6395e9a634e3d4610e9bbc48c (patch)
treee9f2e8e5d1824e45bcfd5358519cc4a4d85426fc /numeric.c
parentfa7bf880b4f351cd99978f7d096510aad137ca18 (diff)
numeric.c: no declaration of finite
* numeric.c (finite): disable declaration on Windows, which can be defined in ruby/win32.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index 83ed3e469d..734ab3455b 100644
--- a/numeric.c
+++ b/numeric.c
@@ -30,7 +30,7 @@
#include <ieeefp.h>
#endif
-#if defined HAVE_FINITE && !defined finite
+#if defined HAVE_FINITE && !defined finite && !defined _WIN32
extern int finite(double);
#endif