summaryrefslogtreecommitdiffstats
path: root/math.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-28 11:08:28 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-28 11:08:28 +0000
commit38baee19d1042de76d844f2e3ea17024d2a89dc5 (patch)
tree2c2b19ff6e43a98ea96452ff612339a6d39f84ae /math.c
parent8b61601353f5331aff6aa3e9e3c72053c8325358 (diff)
merges r21813 from trunk into ruby_1_9_1.
* math.c: SEGV is caused by implicit rb_to_float declaration test_complexrational.rb: [BUG] at IA-64 architecture git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'math.c')
-rw-r--r--math.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/math.c b/math.c
index 63a386360..c7e79c1a8 100644
--- a/math.c
+++ b/math.c
@@ -15,6 +15,7 @@
VALUE rb_mMath;
+extern VALUE rb_to_float(VALUE val);
#define Need_Float(x) (x) = rb_to_float(x)
#define Need_Float2(x,y) do {\
Need_Float(x);\