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/test/UnitTest/ExecuteFunctionUnix.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libc/test/UnitTest/ExecuteFunctionUnix.cpp') diff --git a/libc/test/UnitTest/ExecuteFunctionUnix.cpp b/libc/test/UnitTest/ExecuteFunctionUnix.cpp index b244337f9c6f..3a657c00851c 100644 --- a/libc/test/UnitTest/ExecuteFunctionUnix.cpp +++ b/libc/test/UnitTest/ExecuteFunctionUnix.cpp @@ -7,6 +7,7 @@ //===----------------------------------------------------------------------===// #include "ExecuteFunction.h" +#include "src/__support/macros/config.h" #include #include #include @@ -17,7 +18,7 @@ #include #include -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { namespace testutils { bool ProcessStatus::exited_normally() { return WIFEXITED(platform_defined); } @@ -78,4 +79,4 @@ ProcessStatus invoke_in_subprocess(FunctionCaller *func, unsigned timeout_ms) { const char *signal_as_string(int signum) { return ::strsignal(signum); } } // namespace testutils -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL -- cgit v1.2.3