summaryrefslogtreecommitdiff
path: root/include/ruby/win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/win32.h')
-rw-r--r--include/ruby/win32.h2
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