mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
numeric.c: for strict ANSI
* numeric.c (finite): add declaration for strict ANSI. [ruby-core:55312] [Bug #8495] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
444f08f661
commit
9487b2cdfc
2 changed files with 8 additions and 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),
|
* thread_win32.c (w32_thread_start_func, thread_start_func_1),
|
||||||
(timer_thread_func): use __stdcall instead of _stdcall which is
|
(timer_thread_func): use __stdcall instead of _stdcall which is
|
||||||
|
|
|
@ -30,6 +30,10 @@
|
||||||
#include <ieeefp.h>
|
#include <ieeefp.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined HAVE_FINITE && !defined finite
|
||||||
|
extern int finite(double);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* use IEEE 64bit values if not defined */
|
/* use IEEE 64bit values if not defined */
|
||||||
#ifndef FLT_RADIX
|
#ifndef FLT_RADIX
|
||||||
#define FLT_RADIX 2
|
#define FLT_RADIX 2
|
||||||
|
|
Loading…
Add table
Reference in a new issue