Fix 3.8 kernel support: namespace lttng_is_signed_type()
[lttng-modules.git] / lttng-events.h
index 09d561812d77dcc8cb843046437e16e6d11385d9..37a5db71e5bc1f7543a1a3f2efb3ae0b412c3413 100644 (file)
@@ -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,         \
This page took 0.025442 seconds and 4 git commands to generate.