summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-02-03 13:17:47 +0100
committerSlávek Banko <slavek.banko@axis.cz>2017-02-03 13:17:59 +0100
commit027e2601390af9f3bcd6c233458174657915ef61 (patch)
tree5dd3fd58b5a0a2a466230b506984ab803a66458f /config.h.cmake
parent80fc48ed46af348718218ca1f77df2dc13e39edf (diff)
downloadtdenetwork-027e2601390af9f3bcd6c233458174657915ef61.tar.gz
tdenetwork-027e2601390af9f3bcd6c233458174657915ef61.zip
Fix detection whether the system is big endian
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit ed71acf6dcd9380590048fc5c6eb9fd22cb3b9c5)
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 4006c692..38def3f3 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -1,3 +1,8 @@
+
+/* 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@
+
// krdp
#define VERSION "@VERSION@"
@@ -10,6 +15,7 @@
#cmakedefine VIDEODEV_HEADER "@VIDEODEV_HEADER@"
// kopete/protocols/yahoo
+#cmakedefine HAVE_INTTYPES_H 1
#cmakedefine HAVE_STRINGS_H 1
// kopete/protocols/yahoo, kppp