Check BOOST_UNORDERED_FCA_HAS_64B_SIZE_T in the 32 bit case as well

This commit is contained in:
Peter Dimov
2022-06-25 01:16:32 +03:00
parent 31cffd8412
commit c53e0228c5

View File

@ -21,6 +21,12 @@ void macros_test()
#if !defined(BOOST_UNORDERED_FCA_HAS_64B_SIZE_T)
BOOST_ERROR("std::numeric_limits<size_t>::digits >= 64, but "
"BOOST_UNORDERED_FCA_HAS_64B_SIZE_T is not defined");
#endif
}
else {
#if defined(BOOST_UNORDERED_FCA_HAS_64B_SIZE_T)
BOOST_ERROR("std::numeric_limits<size_t>::digits < 64, but "
"BOOST_UNORDERED_FCA_HAS_64B_SIZE_T is defined");
#endif
}