diff options
author | Michael Clemmons <glassresistor@gmail.com> | 2012-05-23 22:40:47 -0700 |
---|---|---|
committer | Michael Clemmons <glassresistor@gmail.com> | 2012-05-23 22:40:47 -0700 |
commit | bbfc30e8960f2965126b9dfe8c3f3d95bd7ade03 (patch) | |
tree | dd33faea72024f4bdd9e07f34468bb51c3e9f77c /librabbitmq/amqp_private.h | |
parent | 50a298e6c0df1ef8f2ec19da5949adef392e5131 (diff) | |
download | rabbitmq-c-github-ask-bbfc30e8960f2965126b9dfe8c3f3d95bd7ade03.tar.gz |
added fix for smartos
Diffstat (limited to 'librabbitmq/amqp_private.h')
-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) |