X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=include%2Flttng%2Fconstant.h;h=1b6f44d8bc95e5622019c7dfcec7b65dd7a52aef;hb=729b50db64128a0e61dca8851bb870c77a3253da;hp=faa582f7707d6609173b62bd0f45616e685ec455;hpb=ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a;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))