summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-02-03 15:24:21 +0100
committerSlávek Banko <slavek.banko@axis.cz>2017-02-03 15:24:31 +0100
commit150ffb2b55b07cebd1975d782923552a2249dbaa (patch)
treec268bdf300751b8c4b16d70b0d6bbf0d62b25039 /config.h.cmake
parent8f0efbe9b27494c4808d21bc7e2749ca9e6daf78 (diff)
downloadtdeutils-150ffb2b55b07cebd1975d782923552a2249dbaa.tar.gz
tdeutils-150ffb2b55b07cebd1975d782923552a2249dbaa.zip
Fix detection whether the system is big endian
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 909bc5d0170a152ec7f8d2f97ca3468c65afc7a3)
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 91bc6ea..50adee4 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -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