Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 22ca1a825f4307983785c7182370d7c2fc43f085 https://github.com/Perl/perl5/commit/22ca1a825f4307983785c7182370d7c2fc43f085 Author: Tom Stellard <tstel...@redhat.com> Date: 2020-07-30 (Thu, 30 Jul 2020)
Changed paths: M AUTHORS M util.c Log Message: ----------- Always expose the perl_tsa_mutex_* functions when threads are enabled These functions were only part of the API if perl is built with clang. However perl modules built with clang still try to use them even when perl itself is built with gcc. This patch replaces the #ifdef PERL_TSA_ACTIVE around these functions with defined(USE_ITHREADS) && defined(I_PTHREAD) so they are always available when treading is enabled. This fixes the clang build of perl modules when perl is built with gcc.