From 09b02349c212cac6395e9a634e3d4610e9bbc48c Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 10 Oct 2013 06:33:34 +0000 Subject: [PATCH] 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 --- numeric.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/numeric.c b/numeric.c index 83ed3e469d..734ab3455b 100644 --- a/numeric.c +++ b/numeric.c @@ -30,7 +30,7 @@ #include #endif -#if defined HAVE_FINITE && !defined finite +#if defined HAVE_FINITE && !defined finite && !defined _WIN32 extern int finite(double); #endif