diff --git a/src/descrambler/capmt.c b/src/descrambler/capmt.c index 258bc2bd..4793e97d 100644 --- a/src/descrambler/capmt.c +++ b/src/descrambler/capmt.c @@ -74,9 +74,8 @@ #define CW_DUMP(buf, len, format, ...) \ printf(format, __VA_ARGS__); int j; for (j = 0; j < len; ++j) printf("%02X ", buf[j]); printf("\n"); -#if defined(__GNUC__) && defined(PLATFORM_LINUX) -#include -#if __GNUC_PREREQ(4, 3) +#if defined(__GNUC__) && defined(__GNUC_MINOR__) +#if 100*__GNUC__+__GNUC_MINOR >=403 #pragma GCC diagnostic ignored "-Warray-bounds" #endif #endif