diff options
Diffstat (limited to 'libc/src/pthread/pthread_rwlock_init.cpp')
| -rw-r--r-- | libc/src/pthread/pthread_rwlock_init.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/pthread/pthread_rwlock_init.cpp b/libc/src/pthread/pthread_rwlock_init.cpp index b1b58aac6c6f..d1a31625d0da 100644 --- a/libc/src/pthread/pthread_rwlock_init.cpp +++ b/libc/src/pthread/pthread_rwlock_init.cpp @@ -11,12 +11,13 @@ #include "src/__support/CPP/new.h" #include "src/__support/common.h" #include "src/__support/libc_assert.h" +#include "src/__support/macros/config.h" #include "src/__support/threads/linux/rwlock.h" #include <errno.h> #include <pthread.h> -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { static_assert( sizeof(RwLock) == sizeof(pthread_rwlock_t) && @@ -64,4 +65,4 @@ LLVM_LIBC_FUNCTION(int, pthread_rwlock_init, return 0; } -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL |
