forked from boostorg/utility
@ -101,7 +101,12 @@ namespace boost
|
|||||||
<< "***** Internal Program Error - assertion (" << expr << ") failed in "
|
<< "***** Internal Program Error - assertion (" << expr << ") failed in "
|
||||||
<< function << ":\n"
|
<< function << ":\n"
|
||||||
<< file << '(' << line << "): " << msg << std::endl;
|
<< file << '(' << line << "): " << msg << std::endl;
|
||||||
std::abort();
|
#ifdef UNDER_CE
|
||||||
|
// The Windows CE CRT library does not have abort() so use exit(-1) instead.
|
||||||
|
std::exit(-1);
|
||||||
|
#else
|
||||||
|
std::abort();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
} // detail
|
} // detail
|
||||||
} // assertion
|
} // assertion
|
||||||
|
Reference in New Issue
Block a user