summaryrefslogtreecommitdiff
path: root/libc/src/__support/FPUtil/NearestIntegerOperations.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/__support/FPUtil/NearestIntegerOperations.h')
-rw-r--r--libc/src/__support/FPUtil/NearestIntegerOperations.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/__support/FPUtil/NearestIntegerOperations.h b/libc/src/__support/FPUtil/NearestIntegerOperations.h
index a9a0a97eebb5..e4e497b898e8 100644
--- a/libc/src/__support/FPUtil/NearestIntegerOperations.h
+++ b/libc/src/__support/FPUtil/NearestIntegerOperations.h
@@ -16,8 +16,9 @@
#include "hdr/math_macros.h"
#include "src/__support/CPP/type_traits.h"
#include "src/__support/common.h"
+#include "src/__support/macros/config.h"
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
namespace fputil {
template <typename T, cpp::enable_if_t<cpp::is_floating_point_v<T>, int> = 0>
@@ -400,6 +401,6 @@ LIBC_INLINE I round_to_signed_integer_using_current_rounding_mode(F x) {
}
} // namespace fputil
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL
#endif // LLVM_LIBC_SRC___SUPPORT_FPUTIL_NEARESTINTEGEROPERATIONS_H