X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Flttng%2Fconstant.h;h=1d35652f753d61fe38e3cf46ed58022a3bf84b3f;hb=6ecf04f64d17fedf74ea881a4284edcfee87ec97;hp=1235c346f5432865d18fe4c134cf4dfdd10e1b92;hpb=e994318de0987df6d8a925dbe16cdadf2235bdc9;p=lttng-tools.git diff --git a/include/lttng/constant.h b/include/lttng/constant.h index 1235c346f..1d35652f7 100644 --- a/include/lttng/constant.h +++ b/include/lttng/constant.h @@ -20,8 +20,8 @@ #ifndef LTTNG_DEPRECATED #if defined (__GNUC__) \ - && ((__GNUC_MAJOR__ == 4) && (__GNUC_MINOR__ >= 5) \ - || __GNUC_MAJOR__ >= 5) + && ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 5) \ + || __GNUC__ >= 5) #define LTTNG_DEPRECATED(msg) __attribute__((deprecated(msg))) #else #define LTTNG_DEPRECATED(msg) __attribute__((deprecated))