From b6a2d2b3fc0ad9e3506b0b530346d3c044488419 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 17 Feb 2010 15:13:37 -0500 Subject: [PATCH] Bug 610183 - Pango doesn't compile with gcc 3.3.3 Disable some __attribute__s with gcc 3. --- pango/opentype/hb-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pango/opentype/hb-private.h b/pango/opentype/hb-private.h index ea29e74..b17b24a 100644 --- a/pango/opentype/hb-private.h +++ b/pango/opentype/hb-private.h @@ -158,7 +158,7 @@ typedef GStaticMutex hb_mutex_t; #define __attribute__(x) #endif -#if __GNUC__ >= 3 +#if __GNUC__ >= 4 #define HB_GNUC_UNUSED __attribute__((unused)) #define HB_GNUC_PURE __attribute__((pure)) #define HB_GNUC_CONST __attribute__((const)) -- 2.7.4