From ed6115361006240e3c7b02295599e4534cc55a13 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 19 Oct 2013 08:57:20 +0200 Subject: Update internal Boost subset to 1.54.0 --- cutl/details/boost/assert.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cutl/details/boost/assert.hpp') 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 -- cgit v1.1