diff options
| author | Petr Hosek <phosek@google.com> | 2024-07-12 09:28:41 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-12 09:28:41 -0700 |
| commit | 5ff3ff33ff930e4ec49da7910612d8a41eb068cb (patch) | |
| tree | ffb876db6deb2dfd4c6c0c11ddf692db75082f7f /libc/src/__support/threads/linux/thread.cpp | |
| parent | dd866040aeb2703debacc141f60429ea0f567146 (diff) | |
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)
This is a part of #97655.
Diffstat (limited to 'libc/src/__support/threads/linux/thread.cpp')
| -rw-r--r-- | libc/src/__support/threads/linux/thread.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/__support/threads/linux/thread.cpp b/libc/src/__support/threads/linux/thread.cpp index 1d986ff38cff..36b4a88eba9b 100644 --- a/libc/src/__support/threads/linux/thread.cpp +++ b/libc/src/__support/threads/linux/thread.cpp @@ -14,6 +14,7 @@ #include "src/__support/OSUtil/syscall.h" // For syscall functions. #include "src/__support/common.h" #include "src/__support/error_or.h" +#include "src/__support/macros/config.h" #include "src/__support/threads/linux/futex_utils.h" // For FutexWordType #include "src/errno/libc_errno.h" // For error macros @@ -29,7 +30,7 @@ #include <sys/mman.h> // For PROT_* and MAP_* definitions. #include <sys/syscall.h> // For syscall numbers. -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { #ifdef SYS_mmap2 static constexpr long MMAP_SYSCALL_NUMBER = SYS_mmap2; @@ -517,4 +518,4 @@ void thread_exit(ThreadReturnValue retval, ThreadStyle style) { __builtin_unreachable(); } -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL |
