projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: add a recording rule listing test
[lttng-tools.git]
/
src
/
vendor
/
msgpack
/
lttng-config.h
diff --git
a/src/vendor/msgpack/lttng-config.h
b/src/vendor/msgpack/lttng-config.h
index 073bf8da591bde77777bd95b88646265780d1567..bd5da44f6a74ddc2226ee12cb41395c3c35100a1 100644
(file)
--- a/
src/vendor/msgpack/lttng-config.h
+++ b/
src/vendor/msgpack/lttng-config.h
@@
-8,11
+8,14
@@
#ifndef MSGPACK_LTTNG_CONFIG_H
#define MSGPACK_LTTNG_CONFIG_H
#ifndef MSGPACK_LTTNG_CONFIG_H
#define MSGPACK_LTTNG_CONFIG_H
-#include <common/compat/endian.h>
+#include <limits.h>
+#include <common/compat/endian.hpp>
-#if
__BYTE_ORDER == __
LITTLE_ENDIAN
+#if
BYTE_ORDER ==
LITTLE_ENDIAN
#define MSGPACK_ENDIAN_LITTLE_BYTE 1
#define MSGPACK_ENDIAN_LITTLE_BYTE 1
-#elif __BYTE_ORDER == __BIG_ENDIAN
+#define MSGPACK_ENDIAN_BIG_BYTE 0
+#elif BYTE_ORDER == BIG_ENDIAN
+#define MSGPACK_ENDIAN_LITTLE_BYTE 0
#define MSGPACK_ENDIAN_BIG_BYTE 1
#endif
#define MSGPACK_ENDIAN_BIG_BYTE 1
#endif
This page took
0.023027 seconds
and
4
git commands to generate.