Ticket #6349: boost-exception-exception_ptr.hpp.3.patch

File boost-exception-exception_ptr.hpp.3.patch, 461 bytes (added by David Deakins, 11 years ago)
  • exception_ptr.hpp

     
    457457        BOOST_ASSERT(p);
    458458        p.ptr_->rethrow();
    459459        BOOST_ASSERT(0);
    460         abort();
     460                #if defined(UNDER_CE)
     461                        // some CE platforms don't define ::abort(), let alone std::abort()
     462                        exit(-1);
     463                #else
     464                        abort();
     465                #endif
    461466        }
    462467
    463468    inline