1
0
mirror of https://git.lyx.org/repos/lyx.git synced 2024-12-14 17:39:58 +00:00
lyx_mirror/development/boostworkaround.txt
Lars Gullik Bjønnes 07c8c3367f a couple of useful files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4182 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-21 23:58:52 +00:00

33 lines
869 B
Plaintext

crc.hpp:
@@ -280,15 +280,10 @@
typedef typename base_type::least least;
typedef typename base_type::fast fast;
-#ifdef __DECCXX
- static const least high_bit = 1ul << (Bits - 1u);
- static const fast high_bit_fast = 1ul << (Bits - 1u);
-#else
BOOST_STATIC_CONSTANT( least, high_bit = (least( 1u ) << ( Bits
- 1u )) );
BOOST_STATIC_CONSTANT( fast, high_bit_fast = (fast( 1u ) << ( Bits
- 1u )) );
-#endif
};
@@ -345,11 +340,7 @@
BOOST_STATIC_CONSTANT( fast, high_bit_fast = base_type::high_bit_fast )
;
#endif
-#ifdef __DECCXX
- static const least sig_bits = (~( ~(0ul) << Bits));
-#else
BOOST_STATIC_CONSTANT( least, sig_bits = (~( ~(least( 0u )) << Bits ))
);
-#endif
BOOST_STATIC_CONSTANT( fast, sig_bits_fast = fast(sig_bits) );