diff options
author | ccsmart <ccsmart@smartpal.de> | 2005-07-06 18:15:03 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-07-06 18:15:03 +0000 |
commit | 5565996ae46389896f5a8638b98bc55811f09e9b (patch) | |
tree | 10424766ca29d2f91b751d97490e9dd3a070af40 /packages/monotone/files/cryptopp-endianness.patch | |
parent | 9c8ed5e61498f7c5537c345d92e5b2da9fd6af3d (diff) | |
parent | 060a925277aefd5367a76112c45205d3370e0a4a (diff) |
merge of 39ec5c108a34c5b8050cb5c43e6e9b01d0a7e695
and bff71dff596d0325ccafbf13fc11a5beb1b38b89
Diffstat (limited to 'packages/monotone/files/cryptopp-endianness.patch')
-rw-r--r-- | packages/monotone/files/cryptopp-endianness.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/monotone/files/cryptopp-endianness.patch b/packages/monotone/files/cryptopp-endianness.patch new file mode 100644 index 0000000000..7abfa7cda1 --- /dev/null +++ b/packages/monotone/files/cryptopp-endianness.patch @@ -0,0 +1,24 @@ +--- intel-0.19/cryptopp/config.h.orig 2005-07-05 22:35:21.352503986 -0700 ++++ intel-0.19/cryptopp/config.h 2005-07-05 22:35:24.303056731 -0700 +@@ -5,6 +5,13 @@ + + // ***************** Important Settings ******************** + ++#if defined(__BYTE_ORDER) && defined(__LITTLE_ENDIAN) && defined(__BIG_ENDIAN) ++# if __BYTE_ORDER == __LITTLE_ENDIAN ++# define IS_LITTLE_ENDIAN ++# elif __BYTE_ORDER == __BIG_ENDIAN ++# define IS_BIG_ENDIAN ++# endif ++#else + // define this if running on a big-endian CPU + #if !defined(IS_LITTLE_ENDIAN) && (defined(__BIG_ENDIAN__) || defined(__sparc) || defined(__sparc__) || defined(__hppa__) || defined(__mips__) || (defined(__MWERKS__) && !defined(__INTEL__))) + # define IS_BIG_ENDIAN +@@ -15,6 +22,7 @@ + #ifndef IS_BIG_ENDIAN + # define IS_LITTLE_ENDIAN + #endif ++#endif /* Linux endiannes macros not defined */ + + // define this if you want to disable all OS-dependent features, + // such as sockets and OS-provided random number generators |