diff options
author | Karl Williamson <khw@cpan.org> | 2017-12-13 19:07:04 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2017-12-13 19:14:33 -0700 |
commit | 59eb8be1443b97df4c7886794cd12918a376321a (patch) | |
tree | 7028642cfa3bd11cbe4a56debb4708bc68632fc7 /regen/reentr.pl | |
parent | 68b33022701d69a0f1026ec8e24018c6faeeda64 (diff) | |
download | perl-59eb8be1443b97df4c7886794cd12918a376321a.tar.gz |
Add PERL_REENTRANT for XS modules
This allows them to get the reentrant versions of libc functions
automatically. Previously if they wanted to do this, they had to
declare themselves (shudder) as PERL_CORE or PERL_EXT.
Diffstat (limited to 'regen/reentr.pl')
-rw-r--r-- | regen/reentr.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regen/reentr.pl b/regen/reentr.pl index 397f8ed091..0dbb79b774 100644 --- a/regen/reentr.pl +++ b/regen/reentr.pl @@ -73,7 +73,7 @@ print $h <<EOF; */ #ifndef PERL_REENTR_API -# if defined(PERL_CORE) || defined(PERL_EXT) +# if defined(PERL_CORE) || defined(PERL_EXT) || defined(PERL_REENTRANT) # define PERL_REENTR_API 1 # else # define PERL_REENTR_API 0 |