From fbf7f4a41780e9fc67d29be3d17e7e7b8cd53593 Mon Sep 17 00:00:00 2001 From: vahtis Date: Mon, 22 Mar 2021 15:38:27 +0200 Subject: [PATCH] Define BOOST_SYSTEM_DEPRECATED for Oracle Developer Studio Added Oracle Developer Studio specific define. --- include/boost/system/detail/config.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/system/detail/config.hpp b/include/boost/system/detail/config.hpp index 296519b..1417237 100644 --- a/include/boost/system/detail/config.hpp +++ b/include/boost/system/detail/config.hpp @@ -60,6 +60,8 @@ # endif #elif defined(_MSC_VER) # define BOOST_SYSTEM_DEPRECATED(msg) __declspec(deprecated(msg)) +#elif defined(__sun) +# define BOOST_SYSTEM_DEPRECATED(msg) __attribute__((deprecated(msg))) #else # define BOOST_SYSTEM_DEPRECATED(msg) #endif