mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
parent
d51799518b
commit
1ab9131bca
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user