[CPPRT] Implement __std_terminate wrapper for Clang-CL

This commit is contained in:
Timo Kreuzer 2019-02-03 18:25:04 +01:00
parent 68abf035c6
commit cf5926c207
2 changed files with 15 additions and 0 deletions

View file

@ -8,6 +8,7 @@ include_directories(
list(APPEND SOURCE
ehvec.cpp
new_nothrow.cpp
terminate.cpp
typeinfo.cpp)
if(ARCH STREQUAL "i386")

View 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();
}