fix asm issue on sun
This commit is contained in:
parent
4f2e0f19bc
commit
e9a0a0edc9
|
@ -399,7 +399,7 @@ octet_string_set_to_zero(uint8_t *s, int len);
|
||||||
# define be64_to_cpu(x) bswap_64((x))
|
# define be64_to_cpu(x) bswap_64((x))
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#if defined(__GNUC__) && defined(HAVE_X86) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
|
#if defined(__GNUC__) && defined(HAVE_X86) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__) && !defined(__sun)
|
||||||
/* Fall back. */
|
/* Fall back. */
|
||||||
static inline uint32_t be32_to_cpu(uint32_t v) {
|
static inline uint32_t be32_to_cpu(uint32_t v) {
|
||||||
/* optimized for x86. */
|
/* optimized for x86. */
|
||||||
|
|
Loading…
Reference in New Issue