diff options
Diffstat (limited to 'libc/src/pthread/pthread_key_create.cpp')
| -rw-r--r-- | libc/src/pthread/pthread_key_create.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/pthread/pthread_key_create.cpp b/libc/src/pthread/pthread_key_create.cpp index 81c1f39954a5..0583baca22f4 100644 --- a/libc/src/pthread/pthread_key_create.cpp +++ b/libc/src/pthread/pthread_key_create.cpp @@ -9,12 +9,13 @@ #include "pthread_key_create.h" #include "src/__support/common.h" +#include "src/__support/macros/config.h" #include "src/__support/threads/thread.h" #include <errno.h> #include <pthread.h> -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { LLVM_LIBC_FUNCTION(int, pthread_key_create, (pthread_key_t * key, __pthread_tss_dtor_t dtor)) { @@ -25,4 +26,4 @@ LLVM_LIBC_FUNCTION(int, pthread_key_create, return 0; } -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL |
