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:
David Deakins
2012-04-25 03:54:37 +00:00
parent 41ce8a3322
commit b3640aa019

View File

@ -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