[Fakeroot-commits] [SCM] fakeroot branch, upstream, updated. debian/1.14.3-200-gb232f8a
Clint Adams
schizo at debian.org
Tue Aug 23 13:06:21 UTC 2011
The following commit has been merged in the upstream branch:
commit f4879d735c66b16b7a7d21ee80c5148a4dc3d27a
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