mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
Merge branch 'visibility-protected' into 'master'
build: don't check for protected visibility See merge request GNOME/glib!1265
This commit is contained in:
commit
eeb4ad8b1e
@ -142,11 +142,6 @@ g_have_gnuc_visibility = cc.compiles('''
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
void
|
void
|
||||||
__attribute__ ((visibility ("protected")))
|
|
||||||
f_protected (void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
void
|
|
||||||
__attribute__ ((visibility ("default")))
|
__attribute__ ((visibility ("default")))
|
||||||
f_default (void)
|
f_default (void)
|
||||||
{
|
{
|
||||||
@ -155,7 +150,6 @@ g_have_gnuc_visibility = cc.compiles('''
|
|||||||
{
|
{
|
||||||
f_hidden();
|
f_hidden();
|
||||||
f_internal();
|
f_internal();
|
||||||
f_protected();
|
|
||||||
f_default();
|
f_default();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user