summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Clemmons <glassresistor@gmail.com>2012-05-23 22:40:47 -0700
committerMichael Clemmons <glassresistor@gmail.com>2012-05-23 22:40:47 -0700
commitbbfc30e8960f2965126b9dfe8c3f3d95bd7ade03 (patch)
treedd33faea72024f4bdd9e07f34468bb51c3e9f77c
parent50a298e6c0df1ef8f2ec19da5949adef392e5131 (diff)
downloadrabbitmq-c-github-ask-bbfc30e8960f2965126b9dfe8c3f3d95bd7ade03.tar.gz
added fix for smartos
-rw-r--r--librabbitmq/amqp_private.h2
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)