summaryrefslogtreecommitdiffhomepage
path: root/include/LibC++/base_exception.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-26 10:10:06 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-26 10:10:06 +0100
commitd532b43153cb68d6e92c5dac58cbd3c8ab4f60af (patch)
treee748d39deee4e4c0983354ccf3fa419263368f87 /include/LibC++/base_exception.h
parentba1b968d17a1ed29694f850af58787c3eb2657d4 (diff)
feat! Use header guards instead of pragma once.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/LibC++/base_exception.h')
-rw-r--r--include/LibC++/base_exception.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/LibC++/base_exception.h b/include/LibC++/base_exception.h
index 571e244..6148a90 100644
--- a/include/LibC++/base_exception.h
+++ b/include/LibC++/base_exception.h
@@ -4,7 +4,8 @@
======================================== */
-#pragma once
+#ifndef NECTAR_LIBCXX_BASE_EXCEPTION_H
+#define NECTAR_LIBCXX_BASE_EXCEPTION_H
#include <LibC++/__abi.h>
#include <LibC++/base_process.h>
@@ -36,3 +37,5 @@ inline void __throw_bad_array_new_length(const char* what) {
}
} // namespace std::base_exception::abi
+#endif // NECTAR_LIBCXX_BASE_EXCEPTION_H
+