diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | numeric.c | 4 |
2 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,7 @@ -Mon Jul 8 23:12:22 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> +Mon Jul 8 23:12:48 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * numeric.c (finite): add declaration for strict ANSI. + [ruby-core:55312] [Bug #8495] * thread_win32.c (w32_thread_start_func, thread_start_func_1), (timer_thread_func): use __stdcall instead of _stdcall which is @@ -30,6 +30,10 @@ #include <ieeefp.h> #endif +#if defined HAVE_FINITE && !defined finite +extern int finite(double); +#endif + /* use IEEE 64bit values if not defined */ #ifndef FLT_RADIX #define FLT_RADIX 2 |