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 /reentr.h | |
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 'reentr.h')
-rw-r--r-- | reentr.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ */ #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 |