diff options
author | Matthias Clasen <mclasen@redhat.com> | 2007-01-12 15:32:38 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2007-01-12 15:32:38 +0000 |
commit | 270190b69881aeacec356f577d765d2e41a41613 (patch) | |
tree | abaaafe821b618114d10d216cf7c7233a1be8849 | |
parent | 8055038c9cba935cdacd734f7524c5fb45a52e98 (diff) |
Make G_GNUC_INTERNAL a no-op for gcc 2.95. (#329031, David Schleef, Marc
2007-01-12 Matthias Clasen <mclasen@redhat.com>
* configure.in: Make G_GNUC_INTERNAL a no-op for
gcc 2.95. (#329031, David Schleef, Marc Brockschmidt)
svn path=/branches/glib-2-12/; revision=5246
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -1,5 +1,10 @@ 2007-01-12 Matthias Clasen <mclasen@redhat.com> + * configure.in: Make G_GNUC_INTERNAL a no-op for + gcc 2.95. (#329031, David Schleef, Marc Brockschmidt) + +2007-01-12 Matthias Clasen <mclasen@redhat.com> + * gthread/gthread-posix.c: * glib/gtimer.c: * glib/gthread.c: Fix errors in the recently moved diff --git a/configure.in b/configure.in index f0f306417..9086b6eb5 100644 --- a/configure.in +++ b/configure.in @@ -2445,8 +2445,12 @@ _______EOF if test x$g_have_gnuc_visibility = xyes ; then cat >>$outfile <<_______EOF +#if __GNUC__ == 2 && __GNUC_MINOR__ == 95 +#define G_GNUC_INTERNAL +#else #define G_HAVE_GNUC_VISIBILITY 1 #define G_GNUC_INTERNAL __attribute__((visibility("hidden"))) +#fi _______EOF else cat >>$outfile <<_______EOF |