From 21e11f77822fddf6ed942b768487279a9274dc91 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sat, 20 Jul 2019 16:42:21 +0200 Subject: [PATCH] internal.h: Fix UNUSED_P for GCC 3.3 (fixes #288) --- expat/lib/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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