diff options
Diffstat (limited to 'libc/src/string/memccpy.cpp')
| -rw-r--r-- | libc/src/string/memccpy.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/string/memccpy.cpp b/libc/src/string/memccpy.cpp index 200384e9f619..ae90cf9370d4 100644 --- a/libc/src/string/memccpy.cpp +++ b/libc/src/string/memccpy.cpp @@ -9,9 +9,10 @@ #include "src/string/memccpy.h" #include "src/__support/common.h" +#include "src/__support/macros/config.h" #include <stddef.h> // For size_t. -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { LLVM_LIBC_FUNCTION(void *, memccpy, (void *__restrict dest, const void *__restrict src, int c, @@ -32,4 +33,4 @@ LLVM_LIBC_FUNCTION(void *, memccpy, return nullptr; } -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL |
