summaryrefslogtreecommitdiff
path: root/net/ecal/files/patch-thirdparty_tcp__pubsub_tcp__pubsub_tcp__pubsub_src_portable__endian.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/ecal/files/patch-thirdparty_tcp__pubsub_tcp__pubsub_tcp__pubsub_src_portable__endian.h')
-rw-r--r--net/ecal/files/patch-thirdparty_tcp__pubsub_tcp__pubsub_tcp__pubsub_src_portable__endian.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/net/ecal/files/patch-thirdparty_tcp__pubsub_tcp__pubsub_tcp__pubsub_src_portable__endian.h b/net/ecal/files/patch-thirdparty_tcp__pubsub_tcp__pubsub_tcp__pubsub_src_portable__endian.h
new file mode 100644
index 000000000000..47873b0d7caf
--- /dev/null
+++ b/net/ecal/files/patch-thirdparty_tcp__pubsub_tcp__pubsub_tcp__pubsub_src_portable__endian.h
@@ -0,0 +1,23 @@
+--- thirdparty/tcp_pubsub/tcp_pubsub/tcp_pubsub/src/portable_endian.h.orig 2024-04-26 04:19:56 UTC
++++ thirdparty/tcp_pubsub/tcp_pubsub/tcp_pubsub/src/portable_endian.h
+@@ -58,14 +58,14 @@
+
+ # include <sys/endian.h> // IWYU pragma: export
+
+-# define be16toh(x) betoh16(x)
+-# define le16toh(x) letoh16(x)
++//# define be16toh(x) betoh16(x)
++//# define le16toh(x) letoh16(x)
+
+-# define be32toh(x) betoh32(x)
+-# define le32toh(x) letoh32(x)
++//# define be32toh(x) betoh32(x)
++//# define le32toh(x) letoh32(x)
+
+-# define be64toh(x) betoh64(x)
+-# define le64toh(x) letoh64(x)
++//# define be64toh(x) betoh64(x)
++//# define le64toh(x) letoh64(x)
+
+ #elif defined(__WINDOWS__)
+