aboutsummaryrefslogtreecommitdiff
path: root/config.h.cmake
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-07-23 09:25:36 +0200
committerAndreas Schneider <mail@cynapses.org>2009-07-23 09:25:36 +0200
commitea0315ed880c6419bbc97549b10ecb6ba6ae2c00 (patch)
tree4c0719358aad644c8833a4ad4efd38b19d6e1536 /config.h.cmake
parent85a5eb94998763c43149b97b81f0a4b4904c6da8 (diff)
downloadlibssh-ea0315ed880c6419bbc97549b10ecb6ba6ae2c00.tar.gz
libssh-ea0315ed880c6419bbc97549b10ecb6ba6ae2c00.tar.xz
libssh-ea0315ed880c6419bbc97549b10ecb6ba6ae2c00.zip
Add cmake check for big endian.
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake12
1 files changed, 3 insertions, 9 deletions
diff --git a/config.h.cmake b/config.h.cmake
index e86f6926..b49b2278 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -77,14 +77,8 @@
/* Define to 1 if you want to enable debug output for crypto functions */
#cmakedefine DEBUG_CRYPTO 1
+/*************************** ENDIAN *****************************/
+
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
-#if defined AC_APPLE_UNIVERSAL_BUILD
-# if defined __BIG_ENDIAN__
-# define WORDS_BIGENDIAN 1
-# endif
-#else
-# ifndef WORDS_BIGENDIAN
-/* # undef WORDS_BIGENDIAN */
-# endif
-#endif
+#cmakedefine WORDS_BIGENDIAN 1