diff options
Diffstat (limited to 'libc/src/string/memcmp.cpp')
| -rw-r--r-- | libc/src/string/memcmp.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/string/memcmp.cpp b/libc/src/string/memcmp.cpp index adfbc1eca326..68996fb78723 100644 --- a/libc/src/string/memcmp.cpp +++ b/libc/src/string/memcmp.cpp @@ -7,15 +7,16 @@ //===----------------------------------------------------------------------===// #include "src/string/memcmp.h" +#include "src/__support/macros/config.h" #include "src/string/memory_utils/inline_memcmp.h" #include <stddef.h> // size_t -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { LLVM_LIBC_FUNCTION(int, memcmp, (const void *lhs, const void *rhs, size_t count)) { return inline_memcmp(lhs, rhs, count); } -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL |
