freebsd-nq/contrib/libcxxrt/terminate.cc

15 lines
209 B
C++
Raw Normal View History

#include <stdlib.h>
namespace std
{
/**
* Stub implementation of std::terminate. Used when the STL implementation
* doesn't provide one.
*/
__attribute__((weak))
void terminate()
{
abort();
}
}