diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-10 23:52:38 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-10 23:52:38 +0000 |
commit | 2d4c2453cc3c277e7ea7e565300c26eeadda20e4 (patch) | |
tree | b11bbdab53b975383bc13add239f9e00f4adbbf7 /include | |
parent | 53861b8acd18cc5241d044f6246568cbac6a31cf (diff) | |
download | ruby-2d4c2453cc3c277e7ea7e565300c26eeadda20e4.tar.gz |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/win32.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h index e5d6f5231d..7dea9315f3 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -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 |