Commit | Line | Data |
---|---|---|
116a02e3 JG |
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 <common/compat/endian.h> | |
12 | ||
13 | #if __BYTE_ORDER == __LITTLE_ENDIAN | |
14 | #define MSGPACK_ENDIAN_LITTLE_BYTE 1 | |
15 | #elif __BYTE_ORDER == __BIG_ENDIAN | |
16 | #define MSGPACK_ENDIAN_BIG_BYTE 1 | |
17 | #endif | |
18 | ||
19 | #endif |