Fix detection whether the system is big endian

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit b1aebdd7f9)
r14.0.x
Slávek Banko 7 years ago
parent d290164f70
commit 9444a6709a

@ -24,6 +24,9 @@ endif( WITH_GCC_VISIBILITY )
tde_setup_architecture_flags( )
include(TestBigEndian)
test_big_endian(WORDS_BIGENDIAN)
# Check system configuration
check_include_file ( "iconv.h" HAVE_ICONV_H )
check_include_file ( "endian.h" HAVE_ENDIAN_H )

@ -1,5 +1,9 @@
#cmakedefine VERSION "@VERSION@"
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
// User specified build options
#cmakedefine HAVE_K3BSETUP

Loading…
Cancel
Save