X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-events.h;h=5e94bafeb567789e827a1abfc6e35abe01dd38c7;hb=baa8acf3af23bc5d9373144bef8147744b5ae01f;hp=cf1045bb589470d5a1f53f13369b14fb5c5e987c;hpb=1698631bb3fbab41277b3953e193dd2fd4a74afa;p=lttng-ust.git diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index cf1045bb..5e94bafe 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -125,7 +125,7 @@ struct lttng_ust_type_integer { .size = sizeof(_type) * CHAR_BIT, \ .alignment = lttng_ust_rb_alignof(_type) * CHAR_BIT, \ .signedness = lttng_ust_is_signed_type(_type), \ - .reverse_byte_order = _byte_order != BYTE_ORDER, \ + .reverse_byte_order = _byte_order != LTTNG_UST_BYTE_ORDER, \ .base = _base, \ })) @@ -157,7 +157,7 @@ struct lttng_ust_type_float { - lttng_ust_float_mant_dig(_type), \ .mant_dig = lttng_ust_float_mant_dig(_type), \ .alignment = lttng_ust_rb_alignof(_type) * CHAR_BIT, \ - .reverse_byte_order = BYTE_ORDER != FLOAT_WORD_ORDER, \ + .reverse_byte_order = LTTNG_UST_BYTE_ORDER != LTTNG_UST_FLOAT_WORD_ORDER, \ }))