Ticket #2098: boost_system_no_exceptions.diff

File boost_system_no_exceptions.diff, 422 bytes (added by anonymous, 14 years ago)
  • libs/system/src/error_code.cpp

    diff -r 510d5bd079ad libs/system/src/error_code.cpp
    a b  
    133133        sz = 0;
    134134      return msg;
    135135      }
     136#ifndef BOOST_NO_EXCEPTIONS
    136137      catch(...)
    137138      {
    138139        if ( sz > sizeof(buf) ) std::free( bp );
    139140        throw;
    140141      }
     142#endif
    141143  #  endif
    142144  # endif
    143145  }