From 64d0c82ee68811f5ce0c6071dd66057fd420846d Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Mon, 3 Jan 2005 20:52:27 +0000 Subject: [PATCH] Fixed placement new detection for GCC 4 svn path=/trunk/boost/boost/numeric/ublas/; revision=26621 --- include/boost/numeric/ublas/config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/numeric/ublas/config.hpp b/include/boost/numeric/ublas/config.hpp index 29ead310..04b207ba 100644 --- a/include/boost/numeric/ublas/config.hpp +++ b/include/boost/numeric/ublas/config.hpp @@ -106,7 +106,7 @@ // GNU Compiler Collection #if defined (__GNUC__) && ! defined (BOOST_STRICT_CONFIG) -#if __GNUC__ >= 3 && __GNUC_MINOR__ >= 4 +#if (__GNUC__ >= 4) || (__GNUC__ >= 3 && __GNUC_MINOR__ >= 4) // By ABI definition see GCC bug id 9982 #define BOOST_UBLAS_USEFUL_ARRAY_PLACEMENT_NEW #endif