aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/config/patches/symbols-visibility.patch
blob: e717d74e1b21bd29496fd5ce2f0e0086040a95be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/include/boost/config/compiler/clang.hpp	(index)
+++ b/include/boost/config/compiler/clang.hpp	(working tree)
@@ -103,1 +103,3 @@
-#  define BOOST_SYMBOL_EXPORT __attribute__((__visibility__("default")))
+#  ifndef BOOST_SYMBOL_EXPORT
+#    define BOOST_SYMBOL_EXPORT __attribute__((__visibility__("default")))
+#  endif
@@ -103,1 +103,3 @@
-#  define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default")))
+#  ifndef BOOST_SYMBOL_VISIBLE
+#    define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default")))
+#  endif
@@ -103,1 +103,3 @@
-#  define BOOST_SYMBOL_IMPORT
+#  ifndef BOOST_SYMBOL_IMPORT
+#    define BOOST_SYMBOL_IMPORT
+#  endif