diff options
Diffstat (limited to 'makedef.pl')
-rw-r--r-- | makedef.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/makedef.pl b/makedef.pl index 8dc1f14522..26398385eb 100644 --- a/makedef.pl +++ b/makedef.pl @@ -131,6 +131,10 @@ $define{PERL_IMPLICIT_CONTEXT} ||= $define{USE_5005THREADS} || $define{MULTIPLICITY} ; +if ($define{USE_ITHREADS} && $PLATFORM ne 'win32' && $^O ne 'darwin') { + $define{USE_REENTRANT_API} = 1; +} + # perl.h logic duplication ends my $sym_ord = 0; |