mirror of
https://github.com/reactos/reactos.git
synced 2025-06-25 17:09:43 +00:00
[CPPRT] Implement __std_terminate wrapper for Clang-CL
This commit is contained in:
parent
68abf035c6
commit
cf5926c207
2 changed files with 15 additions and 0 deletions
|
@ -8,6 +8,7 @@ include_directories(
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
ehvec.cpp
|
ehvec.cpp
|
||||||
new_nothrow.cpp
|
new_nothrow.cpp
|
||||||
|
terminate.cpp
|
||||||
typeinfo.cpp)
|
typeinfo.cpp)
|
||||||
|
|
||||||
if(ARCH STREQUAL "i386")
|
if(ARCH STREQUAL "i386")
|
||||||
|
|
14
sdk/lib/cpprt/terminate.cpp
Normal file
14
sdk/lib/cpprt/terminate.cpp
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
/*
|
||||||
|
* PROJECT: ReactOS C++ Runtime Library
|
||||||
|
* LICENSE: CC0-1.0 (https://spdx.org/licenses/CC0-1.0)
|
||||||
|
* PURPOSE: __std_terminate implementation
|
||||||
|
* COPYRIGHT: Timo Kreuzer (timo.kreuzer@reactos.org)
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <exception>
|
||||||
|
|
||||||
|
extern "C"
|
||||||
|
void __std_terminate()
|
||||||
|
{
|
||||||
|
terminate();
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue