From 5390cbc736ed601067908a8d400636058f3109b5 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sun, 11 Nov 2001 11:55:51 +0000 Subject: [PATCH] Updated to prevent failures on Metrowerks compiler. [SVN r11660] --- test/boost_no_integral_int64_t.ipp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/boost_no_integral_int64_t.ipp b/test/boost_no_integral_int64_t.ipp index 716ecf6d..92cab38b 100644 --- a/test/boost_no_integral_int64_t.ipp +++ b/test/boost_no_integral_int64_t.ipp @@ -12,6 +12,7 @@ namespace boost_no_integral_int64_t{ +#ifdef BOOST_NO_INCLASS_MEMBER_INITIALIZATION enum{ mask = 1uLL << 50 }; template @@ -19,6 +20,15 @@ struct llt { enum{ value = m }; }; +#else +static const unsigned long long mask = 1uLL << 50; + +template +struct llt +{ + static const unsigned long long value = m; +}; +#endif int test() {