[pango] Bug 610183 - Pango doesn't compile with gcc 3.3.3



commit b6a2d2b3fc0ad9e3506b0b530346d3c044488419
Author: Behdad Esfahbod <behdad behdad org>
Date:   Wed Feb 17 15:13:37 2010 -0500

    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 files changed, 1 insertions(+), 1 deletions(-)
---
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))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]