* dln.c: newer BeOS support. a patch from Pete Goodeve

<pete.goodeve at computer.org> in [ruby-core:18712].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2008-09-19 00:33:19 +00:00
parent a9cc553e61
commit d7de44a8fc
8 changed files with 19 additions and 7 deletions

View file

@ -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;