mirror of
https://github.com/boostorg/exception.git
synced 2025-07-21 16:32:05 +02:00
For Windows CE, rethrow_exception should use ::exit instead of ::abort (the CRT on Windows CE does not include ::abort).
[SVN r78187]
This commit is contained in:
@ -457,7 +457,12 @@ boost
|
||||
BOOST_ASSERT(p);
|
||||
p.ptr_->rethrow();
|
||||
BOOST_ASSERT(0);
|
||||
abort();
|
||||
#if defined(UNDER_CE)
|
||||
// some CE platforms don't define ::abort(), let alone std::abort()
|
||||
exit(-1);
|
||||
#else
|
||||
abort();
|
||||
#endif
|
||||
}
|
||||
|
||||
inline
|
||||
|
Reference in New Issue
Block a user