From ede401c960947558e6df1caad9ddbcb2e1643591 Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Wed, 25 Aug 2004 08:31:07 +0000 Subject: [PATCH] std::abs libcomo workaround version dependant svn path=/trunk/boost/boost/numeric/ublas/; revision=24730 --- include/boost/numeric/ublas/config.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/boost/numeric/ublas/config.hpp b/include/boost/numeric/ublas/config.hpp index 34ad8789..dff84c62 100644 --- a/include/boost/numeric/ublas/config.hpp +++ b/include/boost/numeric/ublas/config.hpp @@ -165,9 +165,10 @@ namespace std { // Thanks to Kresimir Fresl for porting to Comeau. #if defined (__COMO__) && ! defined (BOOST_STRICT_CONFIG) -// Without this we don't get abs overloads for float types in -// This should should be library version specific. +// Missing std::abs overloads for float types in are in +#if defined(__LIBCOMO__) && (__LIBCOMO_VERSION__ <= 31) #include +#endif #endif @@ -175,7 +176,7 @@ namespace std { #if defined (__sgi) && ! defined (BOOST_STRICT_CONFIG) -// Without this we don't get abs overloads for float types in +// Missing std::abs overloads for float types in are in // This should should be library version specific. #include