diff --git a/expat/lib/internal.h b/expat/lib/internal.h index dc4ef0c7..5732d55e 100644 --- a/expat/lib/internal.h +++ b/expat/lib/internal.h @@ -102,7 +102,7 @@ #endif #ifndef UNUSED_P -# ifdef __GNUC__ +# if defined(__GNUC__) && (__GNUC__ >= 4) # define UNUSED_P(p) UNUSED_ ## p __attribute__((__unused__)) # else # define UNUSED_P(p) UNUSED_ ## p