From 1430daeb8cb3853930c9faf511bf5734f252c727 Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Wed, 31 Oct 2007 18:28:39 +0000 Subject: [PATCH] Add missing BOOST_SYSTEM_NO_DEPRECATED #ifndef [SVN r40627] --- include/boost/system/error_code.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/system/error_code.hpp b/include/boost/system/error_code.hpp index 34ffb9e..3d333b1 100644 --- a/include/boost/system/error_code.hpp +++ b/include/boost/system/error_code.hpp @@ -171,9 +171,11 @@ namespace boost static const error_category & system_category = get_system_category(); static const error_category & posix_category = get_posix_category(); +# ifndef BOOST_SYSTEM_NO_DEPRECATED // deprecated synonyms static const error_category & errno_ecat = get_posix_category(); static const error_category & native_ecat = get_system_category(); +# endif // class error_condition -----------------------------------------------//