This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
tidy sv.[ch] after CRIPPLED_CC removal
[perl5.git] / makedef.pl
index 8dc1f14..2639838 100644 (file)
@@ -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;