mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-01 13:42:10 +01:00
Use visibility attribute for new enough sun cc. Patch by Chris Wang
* configure.in: Use visibility attribute for new enough sun cc. Patch by Chris Wang svn path=/trunk/; revision=7760
This commit is contained in:
parent
bf201e0fb7
commit
6e5efcdb1d
@ -1,3 +1,10 @@
|
|||||||
|
2009-01-02 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
Bug 564210 – SUN Studio 12 has supported visibility attribute
|
||||||
|
|
||||||
|
* configure.in: Use visibility attribute for new enough sun cc.
|
||||||
|
Patch by Chris Wang
|
||||||
|
|
||||||
2008-12-30 Matthias Clasen <mclasen@redhat.com>
|
2008-12-30 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
Bug 565905 – There is no named g_context_group_set_translation_domain()
|
Bug 565905 – There is no named g_context_group_set_translation_domain()
|
||||||
|
@ -2877,7 +2877,9 @@ _______EOF
|
|||||||
_______EOF
|
_______EOF
|
||||||
fi
|
fi
|
||||||
cat >>$outfile <<_______EOF
|
cat >>$outfile <<_______EOF
|
||||||
#if defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
|
#if defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)
|
||||||
|
#define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
|
||||||
|
#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
|
||||||
#define G_GNUC_INTERNAL __hidden
|
#define G_GNUC_INTERNAL __hidden
|
||||||
#elif defined (__GNUC__) && defined (G_HAVE_GNUC_VISIBILITY)
|
#elif defined (__GNUC__) && defined (G_HAVE_GNUC_VISIBILITY)
|
||||||
#define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
|
#define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user