X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=wrapper%2Fuuid.h;h=7c334947689f21aaeddf2516d1b23ad10afc17ef;hb=b78104db53f97c10add30016e365855a26f6e01e;hp=d8ac53d33134995aa335f29b5c4cffbfc3632ed4;hpb=7381483908683d2077de407a3a052716afebda67;p=lttng-modules.git diff --git a/wrapper/uuid.h b/wrapper/uuid.h index d8ac53d3..7c334947 100644 --- a/wrapper/uuid.h +++ b/wrapper/uuid.h @@ -8,16 +8,16 @@ #ifndef _LTTNG_WRAPPER_UUID_H #define _LTTNG_WRAPPER_UUID_H -#include +#include #include -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,7,0)) static inline void lttng_guid_gen(guid_t *u) { return guid_gen(u); } -#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0)) */ +#else /* #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,7,0)) */ typedef uuid_le guid_t; @@ -26,6 +26,6 @@ void lttng_guid_gen(guid_t *u) { return uuid_le_gen(u); } -#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0)) */ +#endif /* #else #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,7,0)) */ #endif /* _LTTNG_WRAPPER_UUID_H */