diff options
author | Richard Levitte <levitte@openssl.org> | 2005-06-23 21:27:21 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2005-06-23 21:27:21 +0000 |
commit | 1110cea00735fd3f779f62d28a12f4dd613fad61 (patch) | |
tree | 3af81f32a87d09b8ea9cfed33582972faa9ebffb /crypto/md32_common.h | |
parent | 0ed64ce3108def08e93b87cecf4cd616586c3833 (diff) |
Update for Stratus VOS.
PR: 1130
Diffstat (limited to 'crypto/md32_common.h')
-rw-r--r-- | crypto/md32_common.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/crypto/md32_common.h b/crypto/md32_common.h index 0cbcfaf8a2..f1c48b54da 100644 --- a/crypto/md32_common.h +++ b/crypto/md32_common.h @@ -344,9 +344,11 @@ #elif defined(DATA_ORDER_IS_LITTLE_ENDIAN) #if defined(__i386) || defined(__i386__) || defined(__x86_64) || defined(__x86_64__) - /* See comment in DATA_ORDER_IS_BIG_ENDIAN section. */ -# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l) -# define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, l) +# ifndef B_ENDIAN + /* See comment in DATA_ORDER_IS_BIG_ENDIAN section. */ +# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l) +# define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, l) +# endif #endif #ifndef HOST_c2l |