aboutsummaryrefslogtreecommitdiff
path: root/src/script/bitcoinconsensus.h
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2020-07-14 19:06:37 +0800
committerfanquake <fanquake@gmail.com>2021-02-12 09:04:15 +0800
commit1624e17b5430dfe808bb3b1b79dfa53bf45aa053 (patch)
treeb735d373e3519ba2b81536c36f35f91c9e10a5e7 /src/script/bitcoinconsensus.h
parent937dfa8398736b3138e3e667679c4878566f2866 (diff)
downloadbitcoin-1624e17b5430dfe808bb3b1b79dfa53bf45aa053.tar.xz
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.
Diffstat (limited to 'src/script/bitcoinconsensus.h')
-rw-r--r--src/script/bitcoinconsensus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/bitcoinconsensus.h b/src/script/bitcoinconsensus.h
index c5dceac848..9c966e7c1d 100644
--- a/src/script/bitcoinconsensus.h
+++ b/src/script/bitcoinconsensus.h
@@ -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)