mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
win32.h: define or declare finite always
* include/ruby/win32.h (finite): always define or declare. some mingw (maybe w64 only?) lack the declaration. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
53861b8acd
commit
2d4c2453cc
1 changed files with 2 additions and 0 deletions
|
@ -372,6 +372,8 @@ scalb(double a, long b)
|
|||
{
|
||||
return _scalb(a, b);
|
||||
}
|
||||
#else
|
||||
__declspec(dllimport) extern int finite(double);
|
||||
#endif
|
||||
|
||||
#if !defined S_IFIFO && defined _S_IFIFO
|
||||
|
|
Loading…
Add table
Reference in a new issue