aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/src
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2009-05-07 06:55:15 +0000
committerMatthias Klose <doko@gcc.gnu.org>2009-05-07 06:55:15 +0000
commit76104d42a4df656921eb24de9bec78e4190ee717 (patch)
treed8b7b7231cb89bf84e7d54bf430495a5ee3fefa0 /libstdc++-v3/src
parent0b70eafda5634fab60597ef104e258dff3aa2404 (diff)
downloadgcc-76104d42a4df656921eb24de9bec78e4190ee717.zip
gcc-76104d42a4df656921eb24de9bec78e4190ee717.tar.gz
gcc-76104d42a4df656921eb24de9bec78e4190ee717.tar.bz2
re PR libstdc++/40038 (symbols ceill@GLIBCXX_3.4.3 not exported)
2009-05-07 Matthias Klose <doko@ubuntu.com> PR libstdc++/40038 * src/math_stubs_long_double.cc: Add ceill. From-SVN: r147217
Diffstat (limited to 'libstdc++-v3/src')
-rw-r--r--libstdc++-v3/src/math_stubs_long_double.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/libstdc++-v3/src/math_stubs_long_double.cc b/libstdc++-v3/src/math_stubs_long_double.cc
index 1b59034..9f760cf 100644
--- a/libstdc++-v3/src/math_stubs_long_double.cc
+++ b/libstdc++-v3/src/math_stubs_long_double.cc
@@ -70,6 +70,14 @@ extern "C"
}
#endif
+#ifndef _GLIBCXX_HAVE_CEILL
+ long double
+ ceill(long double x)
+ {
+ return ceil((double) x);
+ }
+#endif
+
#ifndef _GLIBCXX_HAVE_COSL
long double
cosl(long double x)