Clean-up: consumer.hpp: coding style indentation fix
[lttng-tools.git] / src / vendor / msgpack / lttng-config.h
1 /*
2 * Copyright (C) 2020 Michael Jeanson <mjeanson@efficios.com>
3 *
4 * SPDX-License-Identifier: BSL-1.0
5 *
6 */
7
8 #ifndef MSGPACK_LTTNG_CONFIG_H
9 #define MSGPACK_LTTNG_CONFIG_H
10
11 #include <limits.h>
12 #include <common/compat/endian.hpp>
13
14 #if BYTE_ORDER == LITTLE_ENDIAN
15 #define MSGPACK_ENDIAN_LITTLE_BYTE 1
16 #define MSGPACK_ENDIAN_BIG_BYTE 0
17 #elif BYTE_ORDER == BIG_ENDIAN
18 #define MSGPACK_ENDIAN_LITTLE_BYTE 0
19 #define MSGPACK_ENDIAN_BIG_BYTE 1
20 #endif
21
22 #endif
This page took 0.028624 seconds and 4 git commands to generate.