1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* math.c (domain_check): fix preprocess condition.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-06-29 02:00:31 +00:00
parent 08db814b84
commit 8272251f6d
2 changed files with 5 additions and 1 deletions

2
math.c
View file

@ -34,7 +34,7 @@ domain_check(x, msg)
if (isnan(x)) {
#if defined(EDOM)
errno = EDOM;
#elif define(ERANGE)
#elif defined(ERANGE)
errno = ERANGE;
#endif
continue;