Ticket #4222: execution_monitor.ipp.patch

File execution_monitor.ipp.patch, 798 bytes (added by Chris Jefferson, 12 years ago)

Small patch to execution_monitor to disable fp exception code on mac

  • execution_monitor.ipp

     
    13201320                return BOOST_FPE_INV;
    13211321
    13221322        return ~old_cw & BOOST_FPE_ALL;
    1323 #elif defined(__CYGWIN__)
    1324     /* Not Implemented in cygwin */
     1323#elif defined(__CYGWIN__) || defined(__APPLE__)
     1324    /* Not Implemented in cygwin or apple */
    13251325    return 0;
    13261326#else
    13271327    ::feclearexcept(BOOST_FPE_ALL);
     
    13471347                return BOOST_FPE_INV;
    13481348
    13491349    return ~old_cw & BOOST_FPE_ALL;
    1350 #elif defined(__CYGWIN__)
    1351     /* Not Implemented in cygwin */
     1350#elif defined(__CYGWIN__) || defined(__APPLE__)
     1351    /* Not Implemented in cygwin or apple */
    13521352    return BOOST_FPE_INV;
    13531353#else
    13541354    ::feclearexcept(BOOST_FPE_ALL);