summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-06 05:06:30 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-06 05:06:30 +0000
commitbe36a1b138a311cb4356e5ad64641eb9598c4dcc (patch)
tree81e172a4406773d429819e3d0fae1e8a9761a8c0 /include
parent53577db05b027787b190bd1934ec72ae045b7df1 (diff)
* include/ruby/missing.h (cbrt): add declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/missing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ruby/missing.h b/include/ruby/missing.h
index cfa430d5d5..0384b995e3 100644
--- a/include/ruby/missing.h
+++ b/include/ruby/missing.h
@@ -87,6 +87,10 @@ extern double tgamma(double);
extern double lgamma_r(double, int *);
#endif
+#ifndef HAVE_CBRT
+extern double cbrt(double);
+#endif
+
#ifndef isinf
# ifndef HAVE_ISINF
# if defined(HAVE_FINITE) && defined(HAVE_ISNAN)