summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2006-09-26 04:15:29 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2006-09-26 04:15:29 +0000
commit8e0cafbd9c5afcbb083d891bb138313aac76b04a (patch)
treecb670015d56380d48029aeea99fbe2c2afe54320
parentf1d8e630ae677a8f1b1f669c695c55ffb3a5f0fe (diff)
downloadxine-lib-8e0cafbd9c5afcbb083d891bb138313aac76b04a.tar.gz
xine-lib-8e0cafbd9c5afcbb083d891bb138313aac76b04a.tar.bz2
Check for visibility attribute, to allow using protected visibility for library functions.
CVS patchset: 8288 CVS date: 2006/09/26 04:15:29
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 22f30c88e..00a8139aa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1996,6 +1996,7 @@ dnl WARNING! Do not move this check behind the $(MULTIPASS_CFLAGS)!
dnl (the alignment test macro does not like variables in the CFLAGS)
AC_C_ATTRIBUTE_ALIGNED
+CC_ATTRIBUTE_VISIBILITY
CC_FLAG_VISIBILITY([
AC_DEFINE([EXPORTED],
[__attribute__((visibility("default")))],