summaryrefslogtreecommitdiffhomepage
path: root/dev/LibC++
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-02-28 20:52:50 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-02-28 20:52:50 +0100
commit00ccc4cfdd391e2f37e601c55af7a55081ac73d9 (patch)
treeaab9b007154fdedba0955153dec6acd734a2f040 /dev/LibC++
parent5e0050bea3724af5f5b87b1d63740427fba24dd1 (diff)
ADD: Add __cplusplus macro to preprocessor.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/LibC++')
-rw-r--r--dev/LibC++/lc_runtime.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev/LibC++/lc_runtime.h b/dev/LibC++/lc_runtime.h
new file mode 100644
index 0000000..c98fefe
--- /dev/null
+++ b/dev/LibC++/lc_runtime.h
@@ -0,0 +1,13 @@
+/* -------------------------------------------
+ \
+ Copyright (C) 2024-2025 Amlal EL Mahrouss, all rights reserved. \
+ \
+------------------------------------------- */
+
+#pragma once
+
+#ifdef __cplusplus
+
+extern "C" void __cxx_libcompiler_unreachable(void);
+
+#endif \ No newline at end of file