#include <type_traits>
#endif
+#include <lttng/ust-arch.h>
#include <lttng/ust-compiler.h>
#include <lttng/ust-config.h>
#include <lttng/ust-version.h>
-#ifndef LTTNG_UST_HAVE_EFFICIENT_UNALIGNED_ACCESS
+#ifndef LTTNG_UST_ARCH_HAS_EFFICIENT_UNALIGNED_ACCESS
/* Align data on its natural alignment */
#define RING_BUFFER_ALIGN
#endif
#define lttng_alignof(type) 1
#endif
-#define lttng_is_signed_type(type) ((type) -1 < (type) 0)
+#define lttng_is_signed_type(type) ((type) -1 < (type) 1)
/*
* This macro adds a compilation assertion that CTF arrays and sequences