summaryrefslogtreecommitdiff
path: root/libc/src/stdlib/exit_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/stdlib/exit_handler.h')
-rw-r--r--libc/src/stdlib/exit_handler.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/stdlib/exit_handler.h b/libc/src/stdlib/exit_handler.h
index 8494c2f2e526..41733b7a0e7e 100644
--- a/libc/src/stdlib/exit_handler.h
+++ b/libc/src/stdlib/exit_handler.h
@@ -13,9 +13,10 @@
#include "src/__support/blockstore.h"
#include "src/__support/common.h"
#include "src/__support/fixedvector.h"
+#include "src/__support/macros/config.h"
#include "src/__support/threads/mutex.h"
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
using AtExitCallback = void(void *);
using StdCAtExitCallback = void(void);
@@ -48,6 +49,6 @@ void call_exit_callbacks(ExitCallbackList &callbacks);
int add_atexit_unit(ExitCallbackList &callbacks, const AtExitUnit &unit);
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL
#endif // LLVM_LIBC_SRC_STDLIB_EXIT_HANDLER_H