diff options
author | Leon Timmermans <fawaka@gmail.com> | 2022-07-27 23:47:05 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-02-22 09:56:27 +0100 |
commit | 3b6c1c937e8a68fba0239b18e2f5f8b91b9c3294 (patch) | |
tree | 5219d4374ddc03eb82c12787d78f9d1b6388d612 /dist/threads-shared | |
parent | d6959f5c125a4785f0831f4c927cdf44069beb31 (diff) | |
download | perl-3b6c1c937e8a68fba0239b18e2f5f8b91b9c3294.tar.gz |
Use ppport.h when building dist/ modules in core
By always including `ppport.h`, this simplifies both XS code and tooling around it.
Diffstat (limited to 'dist/threads-shared')
-rw-r--r-- | dist/threads-shared/lib/threads/shared.pm | 4 | ||||
-rw-r--r-- | dist/threads-shared/shared.xs | 13 |
2 files changed, 7 insertions, 10 deletions
diff --git a/dist/threads-shared/lib/threads/shared.pm b/dist/threads-shared/lib/threads/shared.pm index bd89c30b3f..0fe94a5b8e 100644 --- a/dist/threads-shared/lib/threads/shared.pm +++ b/dist/threads-shared/lib/threads/shared.pm @@ -8,7 +8,7 @@ use Config; use Scalar::Util qw(reftype refaddr blessed); -our $VERSION = '1.65'; # Please update the pod, too. +our $VERSION = '1.66'; # Please update the pod, too. my $XS_VERSION = $VERSION; $VERSION = eval $VERSION; @@ -196,7 +196,7 @@ threads::shared - Perl extension for sharing data structures between threads =head1 VERSION -This document describes threads::shared version 1.64 +This document describes threads::shared version 1.66 =head1 SYNOPSIS diff --git a/dist/threads-shared/shared.xs b/dist/threads-shared/shared.xs index 50161e7bce..45d16c5e31 100644 --- a/dist/threads-shared/shared.xs +++ b/dist/threads-shared/shared.xs @@ -130,14 +130,11 @@ #include "EXTERN.h" #include "perl.h" #include "XSUB.h" -#ifdef HAS_PPPORT_H -# define NEED_sv_2pv_flags -# define NEED_vnewSVpvf -# define NEED_warner -# define NEED_newSVpvn_flags -# include "ppport.h" -# include "shared.h" -#endif +#define NEED_sv_2pv_flags +#define NEED_vnewSVpvf +#define NEED_warner +#define NEED_newSVpvn_flags +#include "ppport.h" #ifndef CLANG_DIAG_IGNORE # define CLANG_DIAG_IGNORE(x) |