System: add deprecated get_posix_category() to fix ticket #2461

[SVN r49717]
This commit is contained in:
Beman Dawes
2008-11-13 16:05:49 +00:00
parent 99ee7ddaab
commit a6728e5fb9

View File

@ -207,6 +207,7 @@ namespace boost
# ifndef BOOST_SYSTEM_NO_DEPRECATED
// deprecated synonyms
inline const error_category & get_posix_category() { return get_generic_category(); }
static const error_category & posix_category = get_generic_category();
static const error_category & errno_ecat = get_generic_category();
static const error_category & native_ecat = get_system_category();
@ -214,7 +215,7 @@ namespace boost
// class error_condition -----------------------------------------------//
// error_conditions are portable, error_codes are system or lib specific
// error_conditions are portable, error_codes are system or library specific
class error_condition
{