freebsd-nq/terminate.cc
David Chisnall 6ec4e3f257 Import libcxxrt / libc++ into a vendor branch.
Approved by:	dim (mentor)
2011-11-22 17:30:41 +00:00

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