build: remove duplicate visibility attribute detection

We are already testing for this, and our test works correctly with a Darwin
target, where the macro does not. Darwin targets do not support "protected"
visibility.
This commit is contained in:
fanquake
2020-07-14 19:06:37 +08:00
parent 937dfa8398
commit 1624e17b54
2 changed files with 5 additions and 6 deletions

View File

@@ -18,7 +18,7 @@
#define EXPORT_SYMBOL
#endif
#endif
#elif defined(HAVE_FUNC_ATTRIBUTE_VISIBILITY)
#elif defined(HAVE_DEFAULT_VISIBILITY_ATTRIBUTE)
#define EXPORT_SYMBOL __attribute__ ((visibility ("default")))
#endif
#elif defined(MSC_VER) && !defined(STATIC_LIBBITCOINCONSENSUS)