freebsd_amp_hwpstate/terminate.cc

15 lines
209 B
C++

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