diff options
author | Steve Hay <SteveHay@planit.com> | 2006-12-05 16:06:31 +0000 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2006-12-05 16:06:31 +0000 |
commit | 27bdbd07da4037be18a7347ab1c0d4093e037413 (patch) | |
tree | 5f7eef3a9467da1f2faff9940f59f86de8b22e98 /win32/config_sh.PL | |
parent | 785a26d510947a2b97507d7acf9b8c13bd59b310 (diff) | |
download | perl-27bdbd07da4037be18a7347ab1c0d4093e037413.tar.gz |
Extend d_pseudofork to Win32-land and set it when appropriate
(namely, when we have USE_ITHREADS and PERL_IMPLICIT_SYSTEM)
p4raw-id: //depot/perl@29469
Diffstat (limited to 'win32/config_sh.PL')
-rw-r--r-- | win32/config_sh.PL | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/config_sh.PL b/win32/config_sh.PL index 1d9a831839..3f819fe1da 100644 --- a/win32/config_sh.PL +++ b/win32/config_sh.PL @@ -109,6 +109,10 @@ if ($opt{uselargefiles} ne 'define') { $opt{lseektype} = 'off_t'; } +if ($opt{useithreads} eq 'define' && $opt{ccflags} =~ / -DPERL_IMPLICIT_SYS/) { + $opt{d_pseudofork} = 'define'; +} + while (<>) { s/~([\w_]+)~/$opt{$1}/g; if (/^([\w_]+)=(.*)$/) { |