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
commit6f4c2968d9a035183d937cb055aec739c05280b1 (patch)
tree3e3270402258677b8ceb7f0db4c68e2123371d97 /src/portable_endian.h
parentAdding upstream version 3.16. (diff)
downloadiperf3-6f4c2968d9a035183d937cb055aec739c05280b1.tar.xz
iperf3-6f4c2968d9a035183d937cb055aec739c05280b1.zip
Adding upstream version 3.17.1.upstream/3.17.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/portable_endian.h')
-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)