This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make the check for PERL_IMPLICIT_SYS better
[perl5.git] / win32 / config_sh.PL
index 3f819fe..6aa2a32 100644 (file)
@@ -109,7 +109,7 @@ if ($opt{uselargefiles} ne 'define') {
     $opt{lseektype} = 'off_t';
 }
 
-if ($opt{useithreads} eq 'define' && $opt{ccflags} =~ / -DPERL_IMPLICIT_SYS/) {
+if ($opt{useithreads} eq 'define' && $opt{ccflags} =~ /-DPERL_IMPLICIT_SYS\b/) {
     $opt{d_pseudofork} = 'define';
 }