summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-17 06:31:41 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-17 06:31:41 +0000
commitcfa3a72cc260edfc307d0abb405a70093a6c3127 (patch)
treed61a3bea8aab372015d3a5789b2b39d4f35cebcc /numeric.c
parent50c667a83779453b73f095970e8404d137246b58 (diff)
merge revision(s) 24750:
* numeric.c (round): added declaration. [ruby-dev:39222] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/numeric.c b/numeric.c
index de00de20d9..634c2eb940 100644
--- a/numeric.c
+++ b/numeric.c
@@ -63,6 +63,8 @@
#define DBL_EPSILON 2.2204460492503131e-16
#endif
+extern double round _((double));
+
#ifndef HAVE_ROUND
double
round(x)