X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-events.h;h=37a5db71e5bc1f7543a1a3f2efb3ae0b412c3413;hb=06254b0fe2a909dabb889fb0d022384906f6f37a;hp=09d561812d77dcc8cb843046437e16e6d11385d9;hpb=74b9312477538922f7ce3194b37ed3e0c5d7ba16;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, \