summaryrefslogtreecommitdiffhomepage
path: root/include/LibC++/base_math.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_math.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_math.h')
-rw-r--r--include/LibC++/base_math.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/LibC++/base_math.h b/include/LibC++/base_math.h
index c9f390d..80b222e 100644
--- a/include/LibC++/base_math.h
+++ b/include/LibC++/base_math.h
@@ -4,7 +4,8 @@
======================================== */
-#pragma once
+#ifndef NECTAR_LIBCXX_BASE_MATH_H
+#define NECTAR_LIBCXX_BASE_MATH_H
#include <defines>
@@ -97,3 +98,5 @@ typename<class Result> using callable_type = Result (*)(size_t n, ...);
#define __cpp_lib_base_math 1
#endif
+#endif // NECTAR_LIBCXX_BASE_MATH_H
+