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:
parent
fa7bf880b4
commit
09b02349c2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue