Skip to content

Commit

Permalink
Bug 1531244 - Don't define swap8b unless needed, a=bustage
Browse files Browse the repository at this point in the history
  • Loading branch information
martinthomson committed Apr 25, 2019
1 parent 29ee724 commit 013792d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/freebl/crypto_primitives.c
Expand Up @@ -22,7 +22,7 @@ swap8b(PRUint64 value)
return (value);
}

#elif !defined(_MSC_VER) && !__has_builtin(__builtin_bswap64)
#elif !defined(_MSC_VER) && !__has_builtin(__builtin_bswap64) && !((defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))))

PRUint64
swap8b(PRUint64 x)
Expand Down

0 comments on commit 013792d

Please sign in to comment.