X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-events.h;h=37a5db71e5bc1f7543a1a3f2efb3ae0b412c3413;hb=06c937989fe2919782533bcf92becfebe5910873;hp=09d561812d77dcc8cb843046437e16e6d11385d9;hpb=947cb9afd2d36d00167484183c9a866274f92516;p=lttng-modules.git diff --git a/lttng-events.h b/lttng-events.h index 09d56181..37a5db71 100644 --- a/lttng-events.h +++ b/lttng-events.h @@ -30,8 +30,7 @@ #include "lttng-abi.h" #include "lttng-abi-old.h" -#undef is_signed_type -#define is_signed_type(type) (((type)(-1)) < 0) +#define lttng_is_signed_type(type) (((type)(-1)) < 0) struct lttng_channel; struct lttng_session; @@ -71,7 +70,7 @@ struct lttng_enum_entry { { \ .size = sizeof(_type) * CHAR_BIT, \ .alignment = lttng_alignof(_type) * CHAR_BIT, \ - .signedness = is_signed_type(_type), \ + .signedness = lttng_is_signed_type(_type), \ .reverse_byte_order = _byte_order != __BYTE_ORDER, \ .base = _base, \ .encoding = lttng_encode_##_encoding, \