From d7de44a8fcb6bdbcb3f6d9b97bb6164a8382dbbd 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: svn+ssh://ci.ruby-lang.org/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 6301adecd6..7cecfeb02d 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 v1.2.3