Bug 610183 - Pango doesn't compile with gcc 3.3.3
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 17 Feb 2010 20:13:37 +0000 (15:13 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 17 Feb 2010 20:13:37 +0000 (15:13 -0500)
Disable some __attribute__s with gcc 3.

pango/opentype/hb-private.h

index ea29e74..b17b24a 100644 (file)
@@ -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))