summaryrefslogtreecommitdiff
path: root/libc/src/math/generic/rintf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/math/generic/rintf.cpp')
-rw-r--r--libc/src/math/generic/rintf.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/math/generic/rintf.cpp b/libc/src/math/generic/rintf.cpp
index 259a46f37653..29a2845cc85d 100644
--- a/libc/src/math/generic/rintf.cpp
+++ b/libc/src/math/generic/rintf.cpp
@@ -9,11 +9,12 @@
#include "src/math/rintf.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(float, rintf, (float x)) {
return fputil::round_using_current_rounding_mode(x);
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL