1#include <stdlib.h> 2 3namespace std 4{ 5 /** 6 * Stub implementation of std::terminate. Used when the STL implementation 7 * doesn't provide one. 8 */ 9 __attribute__((weak)) 10 void terminate() 11 { 12 abort(); 13 } 14} 15