summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2017-02-05 13:52:16 +0100
committerSlávek Banko <[email protected]>2017-02-05 13:52:16 +0100
commit783e11f17e1fab6bf7cd85d215f03ba446a42644 (patch)
treee387689d898ca5210c8a1d62870d5b15a99f38a5 /config.h.cmake
parentdda25dba5bbda97310035c719cee5bdddc3b7d0f (diff)
downloadtdenetworkmanager-783e11f17e1fab6bf7cd85d215f03ba446a42644.tar.gz
tdenetworkmanager-783e11f17e1fab6bf7cd85d215f03ba446a42644.zip
Fix detection whether the system is big endian
Signed-off-by: Slávek Banko <[email protected]>
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 a17378f..b709202 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -1 +1,5 @@
#define TDENETWORKMANAGER_VERSION_STRING "@TDENETWORKMANAGER_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@