summaryrefslogtreecommitdiffstats
path: root/src/portable_endian.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:27:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:27:01 +0000
commitdc990bc79d0d7663bd6e775d2253e158b74686b4 (patch)
tree8e3731e353efeffbf1319921c34e579fa403033b /src/portable_endian.h
parentReleasing progress-linux version 3.16-1~progress7.99u1. (diff)
downloadiperf3-dc990bc79d0d7663bd6e775d2253e158b74686b4.tar.xz
iperf3-dc990bc79d0d7663bd6e775d2253e158b74686b4.zip
Merging upstream version 3.17.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--src/portable_endian.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/portable_endian.h b/src/portable_endian.h
index c3c73ff..dbb6789 100644
--- a/src/portable_endian.h
+++ b/src/portable_endian.h
@@ -131,7 +131,9 @@
// the truth because we use the homebrew htonll, et al. implementations
// that were originally the sole implementation of this functionality
// in iperf 3.0.
+#if (!defined(__vxworks)) && (!defined(__VXWORKS__))
# warning platform not supported
+#endif
# include <endian.h>
#if BYTE_ORDER == BIG_ENDIAN
#define HTONLL(n) (n)