Workaround broken old EDG

[SVN r15394]
This commit is contained in:
Dave Abrahams
2002-09-17 02:03:33 +00:00
parent 40ab567d08
commit 1077ddb9c7

View File

@@ -19,7 +19,7 @@
#if defined(__BORLANDC__)
# define BOOST_MPL_AUX_TYPEOF(T,x) typename T::value_type
#elif defined(__MWERKS__) || defined(BOOST_MSVC) && BOOST_MSVC <= 1300
#elif defined(__MWERKS__) || defined(BOOST_MSVC) && BOOST_MSVC <= 1300 || defined(__EDG_VERSION__) && __EDG_VERSION__ <= 241
# define BOOST_MPL_AUX_TYPEOF(T,x) long
#elif defined(__GCC__)
# define BOOST_MPL_AUX_TYPEOF(T,x) __typeof__(x)