Fix detection whether the system is big endian

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 909bc5d017)
pull/30/head
Slávek Banko 7 years ago
parent 8f0efbe9b2
commit 150ffb2b55

@ -24,6 +24,9 @@ endif( WITH_GCC_VISIBILITY )
tde_setup_architecture_flags( )
include(TestBigEndian)
test_big_endian(WORDS_BIGENDIAN)
##### ark #######################################

@ -1,6 +1,11 @@
#cmakedefine PACKAGE "@PACKAGE@"
#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@
// ark
#cmakedefine HAVE_STRLCPY_PROTO

Loading…
Cancel
Save