diff options
author | wtc%google.com <devnull@localhost> | 2008-02-16 05:05:39 +0000 |
---|---|---|
committer | wtc%google.com <devnull@localhost> | 2008-02-16 05:05:39 +0000 |
commit | 0820fb6f9fb0e2f9bce766429b66a9406b2f8a2b (patch) | |
tree | 40650a46e90cd0f73142621eca13d06f0335a88b | |
parent | a82279b7b6f70ebf15d3f83b13235e8104e2a427 (diff) | |
download | nss-hg-0820fb6f9fb0e2f9bce766429b66a9406b2f8a2b.tar.gz |
Bug 416508: undo the removal of #if defined(IS_LITTLE_ENDIAN) in the
previous checkin. I now understand what it is for.
-rw-r--r-- | security/nss/lib/freebl/sha_fast.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/security/nss/lib/freebl/sha_fast.h b/security/nss/lib/freebl/sha_fast.h index cde706610..d579ebad4 100644 --- a/security/nss/lib/freebl/sha_fast.h +++ b/security/nss/lib/freebl/sha_fast.h @@ -59,6 +59,7 @@ struct SHA1ContextStr { #if defined(_MSC_VER) #include <stdlib.h> +#if defined(IS_LITTLE_ENDIAN) #if (_MSC_VER >= 1300) #pragma intrinsic(_byteswap_ulong) #define SHA_HTONL(x) _byteswap_ulong(x) @@ -83,6 +84,7 @@ swap4b(PRUint32 dwd) #define SHA_HTONL(x) swap4b(x) #endif /* _X86_ */ +#endif /* IS_LITTLE_ENDIAN */ #pragma intrinsic (_lrotr, _lrotl) #define SHA_ROTL(x,n) _lrotl(x,n) |