X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=include%2Flttng%2Fconstant.h;h=1b6f44d8bc95e5622019c7dfcec7b65dd7a52aef;hb=41845000b4c4bb13986f9b95b5dc67c309dd1bdc;hp=faa582f7707d6609173b62bd0f45616e685ec455;hpb=9e6c156fee2c2834063198384e3c35001992c7eb;p=lttng-tools.git diff --git a/include/lttng/constant.h b/include/lttng/constant.h index faa582f77..1b6f44d8b 100644 --- a/include/lttng/constant.h +++ b/include/lttng/constant.h @@ -10,8 +10,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))