summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-02-04 18:26:31 +0100
committerSlávek Banko <slavek.banko@axis.cz>2017-02-04 18:26:42 +0100
commit9444a6709a23153941eaf79dff8ecc27e0a716ef (patch)
tree3b727649d7a2a20b3ab21644387f82d068297979 /config.h.cmake
parentd290164f7014d2177d9a25145e771cc1e85c484b (diff)
downloadk3b-9444a6709a23153941eaf79dff8ecc27e0a716ef.tar.gz
k3b-9444a6709a23153941eaf79dff8ecc27e0a716ef.zip
Fix detection whether the system is big endian
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit b1aebdd7f9e3988d338a10cc608ca3c5221ffa49)
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 0b361fb..5d10ff6 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -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