* OPUS and Pulse can be configured nicely by default now, no longer need a local patch for that * mysql version checks fail when cross-compiling, add patch to remove them and always assume MySQL >8.0. * Package new services, communicators, ... This is a new major release. It breaks protocol compatibility with the 0.15.x versions. Please be aware that Git master is thus henceforth (and has been for a while) INCOMPATIBLE with the 0.15.x GNUnet network, and interactions between old and new peers will result in issues. 0.15.x peers will be able to communicate with Git master or 0.16.x peers, but some services - in particular GNS - will not be compatible. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
18 lines
553 B
Diff
18 lines
553 B
Diff
--- a/src/include/gnunet_common.h
|
|
+++ b/src/include/gnunet_common.h
|
|
@@ -150,7 +150,6 @@ enum GNUNET_GenericReturnValue
|
|
* Endian operations
|
|
*/
|
|
|
|
-#if __BYTE_ORDER == __LITTLE_ENDIAN
|
|
#ifdef HAVE_BYTESWAP_H
|
|
#define BYTE_SWAP_16(x) bswap_16 (x)
|
|
#define BYTE_SWAP_32(x) bswap_32 (x)
|
|
@@ -170,6 +169,7 @@ enum GNUNET_GenericReturnValue
|
|
56))
|
|
#endif
|
|
|
|
+#if __BYTE_ORDER == __LITTLE_ENDIAN
|
|
#define GNUNET_htobe16(x) BYTE_SWAP_16 (x)
|
|
#define GNUNET_htole16(x) (x)
|
|
#define GNUNET_be16toh(x) BYTE_SWAP_16 (x)
|