summaryrefslogtreecommitdiffstats
path: root/src/portable_endian.h
diff options
context:
space:
mode:
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)