summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2010-02-17 15:13:37 -0500
committerBehdad Esfahbod <behdad@behdad.org>2010-02-17 15:13:37 -0500
commitb6a2d2b3fc0ad9e3506b0b530346d3c044488419 (patch)
treedf42156a61f4a9c1fbd1134c916638dfa3fafffe
parentc7460fc1b71a491a1b33c19ba0d4cd3b8353c7cb (diff)
downloadpango-b6a2d2b3fc0ad9e3506b0b530346d3c044488419.tar.gz
Bug 610183 - Pango doesn't compile with gcc 3.3.3
Disable some __attribute__s with gcc 3.
-rw-r--r--pango/opentype/hb-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/opentype/hb-private.h b/pango/opentype/hb-private.h
index ea29e74a..b17b24a0 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))