diff options
Diffstat (limited to 'libc/src/math/generic/fromfp.cpp')
| -rw-r--r-- | libc/src/math/generic/fromfp.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/math/generic/fromfp.cpp b/libc/src/math/generic/fromfp.cpp index ba3f0a133cbc..f75e6596b25f 100644 --- a/libc/src/math/generic/fromfp.cpp +++ b/libc/src/math/generic/fromfp.cpp @@ -9,11 +9,12 @@ #include "src/math/fromfp.h" #include "src/__support/FPUtil/NearestIntegerOperations.h" #include "src/__support/common.h" +#include "src/__support/macros/config.h" -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { LLVM_LIBC_FUNCTION(double, fromfp, (double x, int rnd, unsigned int width)) { return fputil::fromfp</*IsSigned=*/true>(x, rnd, width); } -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL |
