* include/ruby/missing.h: include math.h before checking INFINITY
and NAN. Otherwise, strange macro redefinition will occur. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3307d65dc6
commit
7339e678f4
@ -1,3 +1,8 @@
|
|||||||
|
Mon Jun 18 19:31:20 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
|
* include/ruby/missing.h: include math.h before checking INFINITY
|
||||||
|
and NAN. Otherwise, strange macro redefinition will occur.
|
||||||
|
|
||||||
Mon Jun 18 19:12:37 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
Mon Jun 18 19:12:37 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
* array.c (ary_reverse): use ansi style declaration.
|
* array.c (ary_reverse): use ansi style declaration.
|
||||||
|
@ -20,6 +20,7 @@ extern "C" {
|
|||||||
|
|
||||||
#include "ruby/config.h"
|
#include "ruby/config.h"
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
#include <math.h> /* for INFINITY and NAN */
|
||||||
#ifdef RUBY_EXTCONF_H
|
#ifdef RUBY_EXTCONF_H
|
||||||
#include RUBY_EXTCONF_H
|
#include RUBY_EXTCONF_H
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user