[Fakeroot-commits] [SCM] fakeroot branch, upstream, updated. 08ed00124d8b6b445d3b91a9aa15eec638b02f05
Clint Adams
schizo at debian.org
Sun Nov 15 03:17:42 UTC 2009
The following commit has been merged in the upstream branch:
commit a7113ebf739cceec036055a93b7da81acfee9d2d
Author: Clint Adams <schizo at debian.org>
Date: Mon Sep 28 22:09:18 2009 -0400
Apply patch from U.V. Ravindra to use native htonll()/ntohll() on Solaris.
diff --git a/message.h b/message.h
index 83ca184..648f4a8 100644
--- a/message.h
+++ b/message.h
@@ -11,6 +11,8 @@
# endif
#endif
+/* On Solaris, use the native htonll(n)/ntohll(n) */
+#if !defined(sun) && !defined(_NETINET_IN_H)
#if __BYTE_ORDER == __BIG_ENDIAN
# define htonll(n) (n)
# define ntohll(n) (n)
@@ -18,6 +20,7 @@
# define htonll(n) ((((uint64_t) htonl(n)) << 32LL) | htonl((n) >> 32LL))
# define ntohll(n) ((((uint64_t) ntohl(n)) << 32LL) | ntohl((n) >> 32LL))
#endif
+#endif /* !defined(sun) && !defined(_NETINET_IN_H) */
#define FAKEROOTKEY_ENV "FAKEROOTKEY"
--
fakeroot
More information about the Fakeroot-commits
mailing list