Make use of the Boost Endian library for byte swapping.

It's likely to be better at choosing the most efficient method than our CMake tests.
This commit is contained in:
Tsuda Kageyu
2015-11-13 10:58:23 +09:00
parent 86c7e905ba
commit 6775cef651
3 changed files with 60 additions and 33 deletions

View File

@ -1,6 +1,7 @@
/* config.h. Generated by cmake from config.h.cmake */
/* Defined if your compiler supports some byte swap functions */
#cmakedefine HAVE_BOOST_BYTESWAP 1
#cmakedefine HAVE_GCC_BYTESWAP 1
#cmakedefine HAVE_GLIBC_BYTESWAP 1
#cmakedefine HAVE_MSC_BYTESWAP 1