File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3636 \
3737 return 0 ;
3838
39- #if (QBCAPPOW < 7) || ((QBCAPPOW < 8) && defined(__SIZEOF_INT128__)) || \
40- ((QBCAPPOW > 7 ) && defined (BOOST_AVAILABLE) && defined (ENABLE_CPP_INT ))
39+ #if (QBCAPPOW < 7) || (defined(ENABLE_CPP_INT) && (( (QBCAPPOW < 8) && defined(__SIZEOF_INT128__)) || \
40+ ((QBCAPPOW > 7 ) && defined (BOOST_AVAILABLE)) ))
4141inline void bi_not_ip (bitCapInt* left) { *left = ~(*left); }
4242inline void bi_and_ip (bitCapInt* left, const bitCapInt& right) { *left &= right; }
4343inline void bi_or_ip (bitCapInt* left, const bitCapInt& right) { *left |= right; }
@@ -145,7 +145,7 @@ inline bitLenInt popCountOcl(bitCapIntOcl n)
145145#endif
146146}
147147
148- #if (QBCAPPOW < 7) || ((QBCAPPOW < 8) && defined(__SIZEOF_INT128__))
148+ #if (QBCAPPOW < 7) || ((QBCAPPOW < 8) && defined(__SIZEOF_INT128__)) && defined(ENABLE_CPP_INT)
149149inline int bi_log2 (const bitCapInt& n) { return log2Ocl ((bitCapIntOcl)n); }
150150#elif (QBCAPPOW > 7) && defined(BOOST_AVAILABLE) && defined(ENABLE_CPP_INT)
151151inline int bi_log2 (const bitCapInt& n) { return boost::multiprecision::msb (n); }
You can’t perform that action at this time.
0 commit comments