Utility: merge [68982] to fix #5213.

[SVN r83427]
This commit is contained in:
Vicente J. Botet Escriba authored and Peter Dimov committed 2014-01-02 16:09:45 +02:00
1 parent 288d786688
commit 81d0e84cc2
1 file changed
+6 -1
+6 -1
View File
@@ -101,7 +101,12 @@ namespace boost
<< "***** Internal Program Error - assertion (" << expr << ") failed in "
<< function << ":\n"
<< 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
} // assertion