From 2d0dc7405db522c581c9726ee90629e72088f448 Mon Sep 17 00:00:00 2001 From: Christopher Currie Date: Mon, 16 Feb 2004 15:17:03 +0000 Subject: [PATCH] Workaround for Sun CC 5.6 [SVN r22297] --- include/boost/config/stdlib/roguewave.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/boost/config/stdlib/roguewave.hpp b/include/boost/config/stdlib/roguewave.hpp index 886c30eb..3cbafa63 100644 --- a/include/boost/config/stdlib/roguewave.hpp +++ b/include/boost/config/stdlib/roguewave.hpp @@ -41,7 +41,9 @@ # define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS #endif -#if BOOST_RWSTD_VER <= 0x020101 +// Sun CC 5.6 adds long long specialization, but does not change the +// library version number +#if BOOST_RWSTD_VER <= 0x020101 && (!defined(__SUNPRO_CC) || (__SUNPRO_CC < 0x560)) # define BOOST_NO_LONG_LONG_NUMERIC_LIMITS # endif