X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Fcompiler.h;h=2e0237e15194d01953fa8d5792c9194acb270a08;hp=1e309035a9313e1540ada18c95b1da4d444c399b;hb=a0a0c4d56e9ce28effda40529ac107e8cf621a73;hpb=e47048cc8c4830fbfbe7169d743e58231f0549bc diff --git a/urcu/compiler.h b/urcu/compiler.h index 1e30903..2e0237e 100644 --- a/urcu/compiler.h +++ b/urcu/compiler.h @@ -97,8 +97,8 @@ (unsigned long) (v)) #if defined (__GNUC__) \ - && ((__GNUC_MAJOR__ == 4) && (__GNUC_MINOR__ >= 5) \ - || __GNUC_MAJOR__ >= 5) + && ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 5) \ + || __GNUC__ >= 5) #define CDS_DEPRECATED(msg) \ __attribute__((deprecated(msg))) #else