ruby-changes:40122
From: nobu <ko1@a...>
Date: Tue, 20 Oct 2015 16:15:58 +0900 (JST)
Subject: [ruby-changes:40122] nobu:r52203 (trunk): missing.h: fix condition
nobu 2015-10-20 16:15:16 +0900 (Tue, 20 Oct 2015) New Revision: 52203 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52203 Log: missing.h: fix condition * include/ruby/missing.h (bytesequence4_or_float): define by configured result. Modified files: trunk/include/ruby/missing.h Index: include/ruby/missing.h =================================================================== --- include/ruby/missing.h (revision 52202) +++ include/ruby/missing.h (revision 52203) @@ -136,7 +136,7 @@ RUBY_EXTERN double lgamma_r(double, int https://github.com/ruby/ruby/blob/trunk/include/ruby/missing.h#L136 RUBY_EXTERN double cbrt(double); #endif -#if !defined(INFINITY) || !defined(NAN) +#if !defined(HAVE_INFINITY) || !defined(HAVE_NAN) union bytesequence4_or_float { unsigned char bytesequence[4]; float float_value; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/