Fix: use the correct endian compat macros
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 16 Mar 2022 15:40:52 +0000 (11:40 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 17 Mar 2022 17:15:50 +0000 (13:15 -0400)
commit6b5a354b068a40d1938a5480cf13d3fcb69ca914
treef4df0f9af2b772beb52bd6c8fe50b2ccf9be71a1
parentf2c057a6c6933c7975d27117e0cac9cb44789cc6
Fix: use the correct endian compat macros

Document which variant of the endian macros our compat header guarantees
across all platforms and fix incorrect uses.

This was discovered with -Wundef on macOS.

Change-Id: Iaf442fe5887063661273ac2a00c9fa4015e83d5c
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/compat/endian.h
src/common/hashtable/utils.cpp
src/vendor/msgpack/lttng-config.h
This page took 0.025111 seconds and 4 git commands to generate.