aboutsummaryrefslogtreecommitdiff
path: root/security/nss/files/patch-bug1551041
blob: a9f7f5ce065ecb76423d72b5ffba97b5b770fa1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- lib/freebl/crypto_primitives.c.orig	2019-05-10 21:14:18 UTC
+++ lib/freebl/crypto_primitives.c
@@ -22,7 +22,7 @@ swap8b(PRUint64 value)
     return (value);
 }
 
-#elif !defined(_MSC_VER) && !__has_builtin(__builtin_bswap64) && !((defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))))
+#elif defined(IS_LITTLE_ENDIAN) && !defined(_MSC_VER) && !__has_builtin(__builtin_bswap64) && !((defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))))
 
 PRUint64
 swap8b(PRUint64 x)