From 3f30effe1bd81fa1b039218a9bfe79c3b03fafad Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Thu, 11 Jul 2024 12:35:22 -0700 Subject: [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98075) This is a part of #97655. --- libc/src/stdio/gpu/stdout.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libc/src/stdio/gpu/stdout.cpp') diff --git a/libc/src/stdio/gpu/stdout.cpp b/libc/src/stdio/gpu/stdout.cpp index fffe137..e3869f9 100644 --- a/libc/src/stdio/gpu/stdout.cpp +++ b/libc/src/stdio/gpu/stdout.cpp @@ -7,10 +7,11 @@ //===----------------------------------------------------------------------===// #include "hdr/types/FILE.h" +#include "src/__support/macros/config.h" -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { static struct { } stub; FILE *stdout = reinterpret_cast(&stub); -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL extern "C" FILE *stdout = reinterpret_cast(&LIBC_NAMESPACE::stub); -- cgit v1.1