diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-05-03 13:52:10 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-05-03 13:52:10 +0100 |
commit | 7f596814c14a5844d49c50cad68df568e6417793 (patch) | |
tree | 44fa6bd3563338e5733751ec05ac30df019f4548 /contrib/t1ha | |
parent | 0d217fc8880ed3b6902f72022da7d38f324c368a (diff) | |
download | rspamd-7f596814c14a5844d49c50cad68df568e6417793.tar.gz rspamd-7f596814c14a5844d49c50cad68df568e6417793.zip |
[Minor] Fix build on Solaris
Issue: #2213
Closes: #2213
Diffstat (limited to 'contrib/t1ha')
-rw-r--r-- | contrib/t1ha/t1ha_bits.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/t1ha/t1ha_bits.h b/contrib/t1ha/t1ha_bits.h index 6b6370031..3e03c551d 100644 --- a/contrib/t1ha/t1ha_bits.h +++ b/contrib/t1ha/t1ha_bits.h @@ -390,7 +390,7 @@ static __always_inline uint16_t fetch16_le(const void *v) { #endif /* fetch16_le */ #if T1HA_USE_FAST_ONESHOT_READ && UNALIGNED_OK && defined(PAGESIZE) && \ - PAGESIZE > 0 && !defined(__SANITIZE_ADDRESS__) + !defined(__SANITIZE_ADDRESS__) && !defined(__sun) #define can_read_underside(ptr, size) \ ((size) <= sizeof(uintptr_t) && ((PAGESIZE - (size)) & (uintptr_t)(ptr)) != 0) #endif /* can_fast_read */ |