diff options
Diffstat (limited to 'libstdc++-v3/src/math_stubs_long_double.cc')
-rw-r--r-- | libstdc++-v3/src/math_stubs_long_double.cc | 8 |
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 1b59034eb71..9f760cfb32f 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) |