diff --git a/wrlib/wraster.h b/wrlib/wraster.h index 479f9756..ab187bfe 100644 --- a/wrlib/wraster.h +++ b/wrlib/wraster.h @@ -61,7 +61,7 @@ * mechanism and define an internal macro appropriately. Please note that the macro are not considered being * part of the public API. */ -#if __GNUC__ >= 4 +#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) #define __wrlib_deprecated(msg) __attribute__ ((deprecated(msg))) #elif __GNUC__ >= 3 #define __wrlib_deprecated(msg) __attribute__ ((deprecated))