From 00ccc4cfdd391e2f37e601c55af7a55081ac73d9 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 28 Feb 2025 20:52:50 +0100 Subject: ADD: Add __cplusplus macro to preprocessor. Signed-off-by: Amlal El Mahrouss --- dev/LibC++/lc_runtime.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 dev/LibC++/lc_runtime.h (limited to 'dev/LibC++') 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 -- cgit v1.2.3