From 232547b3bf17527c6463e12286f16454a77d546b Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 19 Sep 2008 00:33:19 +0000 Subject: * dln.c: newer BeOS support. a patch from Pete Goodeve in [ruby-core:18712]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- numeric.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'numeric.c') diff --git a/numeric.c b/numeric.c index 6301adecd..7cecfeb02 100644 --- a/numeric.c +++ b/numeric.c @@ -78,6 +78,9 @@ round(double x) } return x; } +#elif defined(__BEOS__) +/* appears to be a bug in the BeOS headers */ +double round(double x); #endif static ID id_coerce, id_to_i, id_eq; -- cgit