diff options
author | Tomasz Konojacki <me@xenu.pl> | 2022-06-18 07:26:58 +0200 |
---|---|---|
committer | xenu <me@xenu.pl> | 2022-06-18 08:51:14 +0200 |
commit | 0351a629e71de127cbfd1b142e9eaa6069deabf5 (patch) | |
tree | d3248e133b1eb3d42bdfa321e9e8d06820628ad4 /Porting/config.sh | |
parent | 2287d33092e0f6594e38c269503627308460e02e (diff) | |
download | perl-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 'Porting/config.sh')
-rw-r--r-- | Porting/config.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Porting/config.sh b/Porting/config.sh index 9fae937db7..69a9b9933b 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -141,6 +141,7 @@ d_attribute_nonnull='define' d_attribute_noreturn='define' d_attribute_pure='define' d_attribute_unused='define' +d_attribute_visibility='undef' d_attribute_warn_unused_result='define' d_backtrace='define' d_bsd='undef' |