root / trunk / data / glib / visibility.diff
| Revision 12, 1.0 kB (checked in by saurik, 1 year ago) |
|---|
-
configure.in
diff -ru glib-2.12.13/configure.in glib-2.12.13+iPhone/configure.in
old new 753 753 754 754 # check for GNUC visibility support 755 755 AC_MSG_CHECKING(for GNUC visibility attribute) 756 GLIB_CHECK_COMPILE_WARNINGS([ 757 void 758 __attribute__ ((visibility ("hidden"))) 759 f_hidden (void) 760 { 761 } 762 void 763 __attribute__ ((visibility ("internal"))) 764 f_internal (void) 765 { 766 } 767 void 768 __attribute__ ((visibility ("protected"))) 769 f_protected (void) 770 { 771 } 772 void 773 __attribute__ ((visibility ("default"))) 774 f_default (void) 775 { 776 } 777 int main (int argc, char **argv) 778 { 779 f_hidden(); 780 f_internal(); 781 f_protected(); 782 f_default(); 783 return 0; 784 } 785 ],g_have_gnuc_visibility=yes,g_have_gnuc_visibility=no) 756 g_have_gnuc_visibility=no 786 757 AC_MSG_RESULT($g_have_gnuc_visibility) 787 758 AM_CONDITIONAL(HAVE_GNUC_VISIBILITY, [test x$g_have_gnuc_visibility = xyes]) 788 759
Note: See TracBrowser
for help on using the browser.
