aboutsummaryrefslogtreecommitdiff
path: root/cutl/details/boost/assert.hpp
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-10-19 08:57:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-10-19 08:57:20 +0200
commited6115361006240e3c7b02295599e4534cc55a13 (patch)
tree612f12d6c7c49421102041fceb7609db8ab8257e /cutl/details/boost/assert.hpp
parentaf8d1a0139ca105c6830f4ac7c320aca2e1c1f5e (diff)
Update internal Boost subset to 1.54.0
Diffstat (limited to 'cutl/details/boost/assert.hpp')
-rw-r--r--cutl/details/boost/assert.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/cutl/details/boost/assert.hpp b/cutl/details/boost/assert.hpp
index a33e398..30e6d14 100644
--- a/cutl/details/boost/assert.hpp
+++ b/cutl/details/boost/assert.hpp
@@ -101,7 +101,12 @@ namespace cutl_details_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