From ffad2caaf9daf540e313f2ffe029de04cb3d2b80 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 8 Jul 2025 18:31:22 +0200 Subject: fix: LibC++: use `exit_` symbol instead of `exit` Signed-off-by: Amlal El Mahrouss --- dev/LibC++/base_process.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev') diff --git a/dev/LibC++/base_process.h b/dev/LibC++/base_process.h index 757e592..febcb32 100644 --- a/dev/LibC++/base_process.h +++ b/dev/LibC++/base_process.h @@ -9,12 +9,12 @@ /// @brief CRT exit, with exit code (!!! exits all threads. !!!) /// @param code the exit code. /// @return the return > 0 for non successful. -extern "C" int exit(int code); +extern "C" int exit_(int code); /// @brief Standard C++ namespace namespace std::base_process { inline int exit(int code) { - exit(code); + exit_(code); return -1; } } // namespace std::base_process -- cgit v1.2.3