X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fevents.h;h=5fdec87092074907492398d15c0eb03405158c1c;hb=baa8acf3af23bc5d9373144bef8147744b5ae01f;hp=e827f71df36c9cccf39025f34fcd4f9757245185;hpb=1698631bb3fbab41277b3953e193dd2fd4a74afa;p=lttng-ust.git diff --git a/src/common/events.h b/src/common/events.h index e827f71d..5fdec870 100644 --- a/src/common/events.h +++ b/src/common/events.h @@ -514,7 +514,7 @@ const struct lttng_ust_type_struct *lttng_ust_get_type_struct(const struct lttng .size = (_size), \ .alignment = (_alignment), \ .signedness = (_signedness), \ - .reverse_byte_order = (_byte_order) != BYTE_ORDER, \ + .reverse_byte_order = (_byte_order) != LTTNG_UST_BYTE_ORDER, \ .base = (_base), \ })) @@ -529,7 +529,7 @@ const struct lttng_ust_type_struct *lttng_ust_get_type_struct(const struct lttng .encoding = lttng_ust_string_encoding_UTF8, \ .elem_type = lttng_ust_static_type_integer(sizeof(char) * CHAR_BIT, \ lttng_ust_rb_alignof(char) * CHAR_BIT, lttng_ust_is_signed_type(char), \ - BYTE_ORDER, 10), \ + LTTNG_UST_BYTE_ORDER, 10), \ })) #define lttng_ust_static_event_field(_name, _type, _nowrite, _nofilter) \