mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
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=/trunk/; revision=5245
This commit is contained in:
parent
2c7dbe9c73
commit
247997afed
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2007-01-12 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gthread/gthread-posix.c:
|
* gthread/gthread-posix.c:
|
||||||
|
@ -2433,8 +2433,12 @@ _______EOF
|
|||||||
|
|
||||||
if test x$g_have_gnuc_visibility = xyes ; then
|
if test x$g_have_gnuc_visibility = xyes ; then
|
||||||
cat >>$outfile <<_______EOF
|
cat >>$outfile <<_______EOF
|
||||||
|
#if __GNUC__ == 2 && __GNUC_MINOR__ == 95
|
||||||
|
#define G_GNUC_INTERNAL
|
||||||
|
#else
|
||||||
#define G_HAVE_GNUC_VISIBILITY 1
|
#define G_HAVE_GNUC_VISIBILITY 1
|
||||||
#define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
|
#define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
|
||||||
|
#fi
|
||||||
_______EOF
|
_______EOF
|
||||||
else
|
else
|
||||||
cat >>$outfile <<_______EOF
|
cat >>$outfile <<_______EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user