projects
/
platform
/
upstream
/
pango.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7460fc
)
Bug 610183 - Pango doesn't compile with gcc 3.3.3
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 17 Feb 2010 20:13:37 +0000
(15:13 -0500)
committer
Behdad 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
patch
|
blob
|
history
diff --git
a/pango/opentype/hb-private.h
b/pango/opentype/hb-private.h
index
ea29e74
..
b17b24a
100644
(file)
--- 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))