Let CMake Define HAVE_BYTESWAP_H
Looks like an oversight; so use check_include_file_CXX to check that byteswap.h exists.
This means that on Linux the code will use the bswap_16/32/64 system functions.
Looks like an oversight; so use check_include_file_CXX to check that byteswap.h exists.
This means that on Linux the code will use the bswap_16/32/64 system functions.