diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-07-08 18:31:22 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-07-08 18:31:22 +0200 |
| commit | ffad2caaf9daf540e313f2ffe029de04cb3d2b80 (patch) | |
| tree | 3e9be82510920c0a2e4e4fe7e52662c9d980ef17 | |
| parent | 22d10f3c61959827bb634c9fe25a85ead891d59d (diff) | |
fix: LibC++: use `exit_` symbol instead of `exit`
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
| -rw-r--r-- | dev/LibC++/base_process.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
