forked from boostorg/bind
Fix version check, as g++ 4.1 still has the PCH bug. Refs #4172.
[SVN r62251]
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
|
||||||
#if defined(__BORLANDC__) || defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ < 400)
|
#if defined(__BORLANDC__) || defined(__GNUC__) && (__GNUC__ < 4)
|
||||||
|
|
||||||
static inline boost::arg<1> _1() { return boost::arg<1>(); }
|
static inline boost::arg<1> _1() { return boost::arg<1>(); }
|
||||||
static inline boost::arg<2> _2() { return boost::arg<2>(); }
|
static inline boost::arg<2> _2() { return boost::arg<2>(); }
|
||||||
@@ -38,7 +38,7 @@ static inline boost::arg<8> _8() { return boost::arg<8>(); }
|
|||||||
static inline boost::arg<9> _9() { return boost::arg<9>(); }
|
static inline boost::arg<9> _9() { return boost::arg<9>(); }
|
||||||
|
|
||||||
#elif defined(BOOST_MSVC) || (defined(__DECCXX_VER) && __DECCXX_VER <= 60590031) || defined(__MWERKS__) || \
|
#elif defined(BOOST_MSVC) || (defined(__DECCXX_VER) && __DECCXX_VER <= 60590031) || defined(__MWERKS__) || \
|
||||||
defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ == 400)
|
defined(__GNUC__) && (__GNUC__ == 4 && __GNUC_MINOR__ < 2)
|
||||||
|
|
||||||
static boost::arg<1> _1;
|
static boost::arg<1> _1;
|
||||||
static boost::arg<2> _2;
|
static boost::arg<2> _2;
|
||||||
|
Reference in New Issue
Block a user