From 6ab27d5689c06224ca04745b87281912620b5063 Mon Sep 17 00:00:00 2001 From: vahtis Date: Thu, 25 Mar 2021 11:32:37 +0200 Subject: [PATCH] Workaround for Oracle Developer Studio Oracle Developer Studio needs same workaround as VIsual Studio --- include/boost/operators.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/operators.hpp b/include/boost/operators.hpp index 7dce7df..be56a2f 100644 --- a/include/boost/operators.hpp +++ b/include/boost/operators.hpp @@ -112,6 +112,8 @@ // Define BOOST_OPERATORS_CONSTEXPR to be like BOOST_CONSTEXPR but empty under MSVC < v19.22 #if BOOST_WORKAROUND(BOOST_MSVC, < 1922) #define BOOST_OPERATORS_CONSTEXPR +#elif defined __sun +#define BOOST_OPERATORS_CONSTEXPR #else #define BOOST_OPERATORS_CONSTEXPR BOOST_CONSTEXPR #endif