From 2d4c2453cc3c277e7ea7e565300c26eeadda20e4 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 10 Oct 2013 23:52:38 +0000 Subject: 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 --- include/ruby/win32.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/ruby/win32.h') 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 -- cgit v1.2.1