Updated to prevent failures on Metrowerks compiler.

[SVN r11660]
This commit is contained in:
John Maddock
2001-11-11 11:55:51 +00:00
parent 279fff7821
commit 5390cbc736

View File

@@ -12,6 +12,7 @@
namespace boost_no_integral_int64_t{ namespace boost_no_integral_int64_t{
#ifdef BOOST_NO_INCLASS_MEMBER_INITIALIZATION
enum{ mask = 1uLL << 50 }; enum{ mask = 1uLL << 50 };
template <unsigned long long m> template <unsigned long long m>
@@ -19,6 +20,15 @@ struct llt
{ {
enum{ value = m }; enum{ value = m };
}; };
#else
static const unsigned long long mask = 1uLL << 50;
template <unsigned long long m>
struct llt
{
static const unsigned long long value = m;
};
#endif
int test() int test()
{ {