diff options
-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 7cfb65c..90ff6d3 100644 --- a/librabbitmq/amqp_private.h +++ b/librabbitmq/amqp_private.h @@ -218,8 +218,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) |