From 3fd02775bb248723afff6ad3a1566cee404e9344 Mon Sep 17 00:00:00 2001 From: Michel Morin Date: Wed, 24 Oct 2012 00:24:06 +0000 Subject: [PATCH] Adding `BOOST_SYMBOL_VISIBLE` macro; refs #7559 [SVN r81052] --- include/boost/config/compiler/clang.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/config/compiler/clang.hpp b/include/boost/config/compiler/clang.hpp index aab3c610..a586d89d 100644 --- a/include/boost/config/compiler/clang.hpp +++ b/include/boost/config/compiler/clang.hpp @@ -29,6 +29,8 @@ // Clang supports "long long" in all compilation modes. #define BOOST_HAS_LONG_LONG +#define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default"))) + #if !__has_feature(cxx_auto_type) # define BOOST_NO_CXX11_AUTO_DECLARATIONS # define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS