Add missing BOOST_SYSTEM_NO_DEPRECATED #ifndef

[SVN r40627]
This commit is contained in:
Beman Dawes
2007-10-31 18:28:39 +00:00
parent d0dd2d3764
commit 1430daeb8c

View File

@@ -171,9 +171,11 @@ namespace boost
static const error_category & system_category = get_system_category(); static const error_category & system_category = get_system_category();
static const error_category & posix_category = get_posix_category(); static const error_category & posix_category = get_posix_category();
# ifndef BOOST_SYSTEM_NO_DEPRECATED
// deprecated synonyms // deprecated synonyms
static const error_category & errno_ecat = get_posix_category(); static const error_category & errno_ecat = get_posix_category();
static const error_category & native_ecat = get_system_category(); static const error_category & native_ecat = get_system_category();
# endif
// class error_condition -----------------------------------------------// // class error_condition -----------------------------------------------//