Merge branch 'visibility-protected' into 'master'

build: don't check for protected visibility

See merge request GNOME/glib!1265
This commit is contained in:
Sebastian Dröge 2019-12-03 09:44:46 +00:00
commit eeb4ad8b1e

View File

@ -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;
} }