diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-05-05 23:25:32 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-05-05 23:25:32 +0200 |
commit | 9fda18a9d5ae65ae1f86580cbfa41fa61ec2d747 (patch) | |
tree | 628240ec10328609e7cae1903a3aadcf05d9f88d /configure.ac | |
parent | 2ef6f5c406603802a259e8522ccaf7da6408de5d (diff) | |
download | xine-lib-9fda18a9d5ae65ae1f86580cbfa41fa61ec2d747.tar.gz xine-lib-9fda18a9d5ae65ae1f86580cbfa41fa61ec2d747.tar.bz2 |
Check for and use internal visibility.
Internal visibility can improve optimisation on some architectures,
but functions need not to be taken the pointer of when using internal
visibility. For this reason only a subset of xine-lib's functions
should be marked as such.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8b80cb252..a841fe6a0 100644 --- a/configure.ac +++ b/configure.ac @@ -441,6 +441,7 @@ CC_ATTRIBUTE_MALLOC CC_ATTRIBUTE_VISIBILITY([protected], [visibility_export="protected"], [CC_ATTRIBUTE_VISIBILITY([default], [visibility_export="default"])]) +CC_ATTRIBUTE_VISIBILITY([internal]) if test x"$visibility_export" != x""; then CC_FLAG_VISIBILITY([VISIBILITY_FLAG="-fvisibility=hidden" |