From 5ff3ff33ff930e4ec49da7910612d8a41eb068cb Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Fri, 12 Jul 2024 09:28:41 -0700 Subject: [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) This is a part of #97655. --- libc/src/stdlib/aligned_alloc.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libc/src/stdlib/aligned_alloc.h') diff --git a/libc/src/stdlib/aligned_alloc.h b/libc/src/stdlib/aligned_alloc.h index 7f294c8114d4..0205c0246b73 100644 --- a/libc/src/stdlib/aligned_alloc.h +++ b/libc/src/stdlib/aligned_alloc.h @@ -6,15 +6,16 @@ // //===----------------------------------------------------------------------===// +#include "src/__support/macros/config.h" #include #ifndef LLVM_LIBC_SRC_STDLIB_ALIGNED_ALLOC_H #define LLVM_LIBC_SRC_STDLIB_ALIGNED_ALLOC_H -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { void *aligned_alloc(size_t alignment, size_t size); -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL #endif // LLVM_LIBC_SRC_STDLIB_ALIGNED_ALLOC_H -- cgit v1.2.3