summaryrefslogtreecommitdiffstats
path: root/security/nss/lib/freebl/crypto_primitives.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/lib/freebl/crypto_primitives.c')
-rw-r--r--security/nss/lib/freebl/crypto_primitives.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/freebl/crypto_primitives.c b/security/nss/lib/freebl/crypto_primitives.c
index 49c8ca5ca..425f9fcc8 100644
--- a/security/nss/lib/freebl/crypto_primitives.c
+++ b/security/nss/lib/freebl/crypto_primitives.c
@@ -22,7 +22,7 @@ swap8b(PRUint64 value)
return (value);
}
-#elif !defined(_MSC_VER)
+#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)