Fix detection whether the system is big endian

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 8 years ago
parent 6569b886c2
commit c2d9407d82

@ -26,6 +26,9 @@ endif( WITH_GCC_VISIBILITY )
##### set architecture flags #################### ##### set architecture flags ####################
tde_setup_architecture_flags( ) tde_setup_architecture_flags( )
include(TestBigEndian)
test_big_endian(WORDS_BIGENDIAN)
##### required stuff ############################ ##### required stuff ############################

@ -1,5 +1,9 @@
#cmakedefine VERSION "@VERSION@" #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 // User specified build options
#cmakedefine HAVE_TAGLIB 1 #cmakedefine HAVE_TAGLIB 1

Loading…
Cancel
Save