SoW-2020-0002: Trace Hit Counters: trigger error reporting integration
[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
new file mode 100644 (file)
index 0000000..073bf8d
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2020 Michael Jeanson <mjeanson@efficios.com>
+ *
+ * SPDX-License-Identifier: BSL-1.0
+ *
+ */
+
+#ifndef MSGPACK_LTTNG_CONFIG_H
+#define MSGPACK_LTTNG_CONFIG_H
+
+#include <common/compat/endian.h>
+
+#if __BYTE_ORDER == __LITTLE_ENDIAN
+#define MSGPACK_ENDIAN_LITTLE_BYTE 1
+#elif __BYTE_ORDER == __BIG_ENDIAN
+#define MSGPACK_ENDIAN_BIG_BYTE 1
+#endif
+
+#endif
This page took 0.023995 seconds and 5 git commands to generate.