1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2013-10-10 06:33:34 +00:00
parent fa7bf880b4
commit 09b02349c2

View file

@ -30,7 +30,7 @@
#include <ieeefp.h> #include <ieeefp.h>
#endif #endif
#if defined HAVE_FINITE && !defined finite #if defined HAVE_FINITE && !defined finite && !defined _WIN32
extern int finite(double); extern int finite(double);
#endif #endif