Run-time check for integer byte order rather than CMake check.

It will easily be optimized out.
This commit is contained in:
Tsuda Kageyu
2015-08-03 13:08:58 +09:00
parent 44d9f2bf25
commit 076e845912
5 changed files with 6 additions and 36 deletions

View File

@ -1,9 +1,5 @@
/* config.h. Generated by cmake from config.h.cmake */
/* Integer byte order of your target system */
/* 1 if little-endian, 2 if big-endian. */
#cmakedefine SYSTEM_BYTEORDER ${SYSTEM_BYTEORDER}
/* Defined if your compiler supports some byte swap functions */
#cmakedefine HAVE_GCC_BYTESWAP_16 1
#cmakedefine HAVE_GCC_BYTESWAP_32 1