diff options
Diffstat (limited to 'libc/test/src/string/memset_test.cpp')
| -rw-r--r-- | libc/test/src/string/memset_test.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/test/src/string/memset_test.cpp b/libc/test/src/string/memset_test.cpp index d78b579a0edb..774a321ddfce 100644 --- a/libc/test/src/string/memset_test.cpp +++ b/libc/test/src/string/memset_test.cpp @@ -7,6 +7,7 @@ //===----------------------------------------------------------------------===// #include "memory_utils/memory_check_utils.h" +#include "src/__support/macros/config.h" #include "src/__support/macros/properties/os.h" // LIBC_TARGET_OS_IS_LINUX #include "src/string/memset.h" #include "test/UnitTest/Test.h" @@ -15,7 +16,7 @@ #include "memory_utils/protected_pages.h" #endif // !defined(LIBC_FULL_BUILD) && defined(LIBC_TARGET_OS_IS_LINUX) -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { // Adapt CheckMemset signature to memset. static inline void Adaptor(cpp::span<char> p1, uint8_t value, size_t size) { @@ -58,4 +59,4 @@ TEST(LlvmLibcMemsetTest, CheckAccess) { #endif // !defined(LIBC_FULL_BUILD) && defined(LIBC_TARGET_OS_IS_LINUX) -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL |
