1 --- src/hunspell/w_char.hxx
2 +++ src/hunspell/w_char.hxx
5 #if __cplusplus >= 202002L
16 #if defined(__i386__) || defined(_M_IX86) || defined(_M_X64)
17 //use little-endian optimized version
18 -#if __cplusplus >= 202002L
19 +#if __cplusplus >= 202002L && defined __cpp_lib_bit_cast && __cpp_lib_bit_cast >= 201806L
20 return std::bit_cast<unsigned short>(*this);