system: add #ifndef as requested by #2098

[SVN r49094]
This commit is contained in:
Beman Dawes
2008-10-01 19:08:08 +00:00
parent 463cefcf94
commit ee16863a40

View File

@ -131,10 +131,14 @@ namespace
{
msg = ( ( result == invalid_argument ) ? "Unknown error" : bp );
}
# ifndef BOOST_NO_EXCEPTIONS
// See ticket #2098
catch(...)
{
// just eat the exception
}
# endif
if ( sz > sizeof(buf) ) std::free( bp );
sz = 0;