summaryrefslogtreecommitdiff
path: root/uconfig.sh
diff options
context:
space:
mode:
authorTomasz Konojacki <me@xenu.pl>2022-06-18 07:26:58 +0200
committerxenu <me@xenu.pl>2022-06-18 08:51:14 +0200
commit0351a629e71de127cbfd1b142e9eaa6069deabf5 (patch)
treed3248e133b1eb3d42bdfa321e9e8d06820628ad4 /uconfig.sh
parent2287d33092e0f6594e38c269503627308460e02e (diff)
downloadperl-0351a629e71de127cbfd1b142e9eaa6069deabf5.tar.gz
hide private functions with __attribute__((visibility("hidden")))
This allows us to enforce API boundaries and potentially enables compiler optimisations. We've been always hiding non-public symbols on Windows. This commit brings that to the other platforms.
Diffstat (limited to 'uconfig.sh')
-rw-r--r--uconfig.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/uconfig.sh b/uconfig.sh
index f8f61b213d..69b40142eb 100644
--- a/uconfig.sh
+++ b/uconfig.sh
@@ -63,6 +63,7 @@ d_attribute_nonnull='undef'
d_attribute_noreturn='undef'
d_attribute_pure='undef'
d_attribute_unused='undef'
+d_attribute_visibility='undef'
d_attribute_warn_unused_result='undef'
d_backtrace='undef'
d_bsd='undef'