diff options
Diffstat (limited to 'librabbitmq')
-rw-r--r-- | librabbitmq/amqp_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/librabbitmq/amqp_private.h b/librabbitmq/amqp_private.h index 67d5fdd..bbee792 100644 --- a/librabbitmq/amqp_private.h +++ b/librabbitmq/amqp_private.h @@ -240,8 +240,10 @@ static inline uint64_t func##ll(uint64_t val) \ #endif +#ifndef __sun DECLARE_XTOXLL(hton) DECLARE_XTOXLL(ntoh) +#endif DECLARE_CODEC_BASE_TYPE(8, (uint8_t), (uint8_t)) DECLARE_CODEC_BASE_TYPE(16, htons, ntohs) |