From: Jeff Garland (jeff_at_[hidden])
Date: 2002-03-13 13:00:57
> Neither VC6 nor VC7 support long long, although both support __int64.
> VC7.1 will support long long as an extension.
My mistake -- what I really meant to say was boost::int64_t (not long long)
which becomes __int64 with VC.
//Work around compilers that don't have std::abs for int64_t
#if (__GNUC__ == 2 && __GNUC_MINOR__ <= 97)|| (defined(BOOST_MSVC) && _MSC_VER
boost::int64_t abs(boost::int64_t x)
return x < 0 ? -x : x;
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk