summaryrefslogtreecommitdiff
path: root/math.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-02 09:25:48 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-02 09:25:48 +0000
commitd6163eaaa425df6cec81404d0f69d822bfae1529 (patch)
tree348e947c39f112b04513e630119eef5d90340004 /math.c
parentc22420d58f6306b8f58e016aef85dcc34b8ed57d (diff)
merge revision(s) 17644:
* math.c (domain_check): fix preprocess condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@17803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'math.c')
-rw-r--r--math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math.c b/math.c
index 60dd0b7204..cf78fc4f2a 100644
--- a/math.c
+++ b/math.c
@@ -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;