summaryrefslogtreecommitdiff
path: root/libc/src/string/strcoll.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/string/strcoll.cpp')
-rw-r--r--libc/src/string/strcoll.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/string/strcoll.cpp b/libc/src/string/strcoll.cpp
index 7280688bf3d9..eeb2c79e3807 100644
--- a/libc/src/string/strcoll.cpp
+++ b/libc/src/string/strcoll.cpp
@@ -9,8 +9,9 @@
#include "src/string/strcoll.h"
#include "src/__support/common.h"
+#include "src/__support/macros/config.h"
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
// TODO: Add support for locales.
LLVM_LIBC_FUNCTION(int, strcoll, (const char *left, const char *right)) {
@@ -19,4 +20,4 @@ LLVM_LIBC_FUNCTION(int, strcoll, (const char *left, const char *right)) {
return static_cast<int>(*left) - static_cast<int>(*right);
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL