mirror of
https://github.com/boostorg/ublas.git
synced 2026-02-23 04:02:10 +00:00
std::abs libcomo workaround version dependant
svn path=/trunk/boost/boost/numeric/ublas/; revision=24730
This commit is contained in:
@@ -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 <cmath>
|
||||
// This should should be library version specific.
|
||||
// Missing std::abs overloads for float types in <cmath> are in <cstdlib>
|
||||
#if defined(__LIBCOMO__) && (__LIBCOMO_VERSION__ <= 31)
|
||||
#include <cstdlib>
|
||||
#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 <cmath>
|
||||
// Missing std::abs overloads for float types in <cmath> are in <cstdlib>
|
||||
// This should should be library version specific.
|
||||
#include <cstdlib>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user