diff --git a/sdk/lib/cpprt/CMakeLists.txt b/sdk/lib/cpprt/CMakeLists.txt index 4e090f2a0a8..de120e40423 100644 --- a/sdk/lib/cpprt/CMakeLists.txt +++ b/sdk/lib/cpprt/CMakeLists.txt @@ -8,6 +8,7 @@ include_directories( list(APPEND SOURCE ehvec.cpp new_nothrow.cpp + terminate.cpp typeinfo.cpp) if(ARCH STREQUAL "i386") diff --git a/sdk/lib/cpprt/terminate.cpp b/sdk/lib/cpprt/terminate.cpp new file mode 100644 index 00000000000..14fc919c816 --- /dev/null +++ b/sdk/lib/cpprt/terminate.cpp @@ -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 + +extern "C" +void __std_terminate() +{ + terminate(); +}