summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-05-05 23:25:32 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-05-05 23:25:32 +0200
commit9fda18a9d5ae65ae1f86580cbfa41fa61ec2d747 (patch)
tree628240ec10328609e7cae1903a3aadcf05d9f88d /configure.ac
parent2ef6f5c406603802a259e8522ccaf7da6408de5d (diff)
downloadxine-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.ac1
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"