mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
missing.h: fix condition
* include/ruby/missing.h (bytesequence4_or_float): define by configured result. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e487959287
commit
96003bc9ac
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ RUBY_EXTERN double lgamma_r(double, int *);
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue