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 | ||
030ea321 | 11 | #include <limits.h> |
116a02e3 JG |
12 | #include <common/compat/endian.h> |
13 | ||
6b5a354b | 14 | #if BYTE_ORDER == LITTLE_ENDIAN |
116a02e3 | 15 | #define MSGPACK_ENDIAN_LITTLE_BYTE 1 |
6b5a354b | 16 | #elif BYTE_ORDER == BIG_ENDIAN |
116a02e3 JG |
17 | #define MSGPACK_ENDIAN_BIG_BYTE 1 |
18 | #endif | |
19 | ||
20 | #endif |