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 | |
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')
-rw-r--r-- | win32/config.bc | 1 | ||||
-rw-r--r-- | win32/config.gc | 1 | ||||
-rw-r--r-- | win32/config.vc | 1 | ||||
-rw-r--r-- | win32/config.vc64 | 1 | ||||
-rw-r--r-- | win32/config_H.bc | 6 | ||||
-rw-r--r-- | win32/config_H.gc | 6 | ||||
-rw-r--r-- | win32/config_H.vc | 6 | ||||
-rw-r--r-- | win32/config_H.vc64 | 6 | ||||
-rw-r--r-- | win32/config_sh.PL | 4 |
9 files changed, 32 insertions, 0 deletions
diff --git a/win32/config.bc b/win32/config.bc index 4e892e9af4..f87e399a81 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -333,6 +333,7 @@ d_poll='undef' d_portable='define' d_printf_format_null='undef' d_procselfexe='undef' +d_pseudofork='undef' d_pthread_atfork='undef' d_pthread_attr_setscope='undef' d_pthread_yield='undef' diff --git a/win32/config.gc b/win32/config.gc index 2652139d43..72afe61bcf 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -333,6 +333,7 @@ d_poll='undef' d_portable='define' d_printf_format_null='undef' d_procselfexe='undef' +d_pseudofork='undef' d_pthread_atfork='undef' d_pthread_attr_setscope='undef' d_pthread_yield='undef' diff --git a/win32/config.vc b/win32/config.vc index ecae562c2a..5339125612 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -333,6 +333,7 @@ d_poll='undef' d_portable='define' d_printf_format_null='undef' d_procselfexe='undef' +d_pseudofork='undef' d_pthread_atfork='undef' d_pthread_attr_setscope='undef' d_pthread_yield='undef' diff --git a/win32/config.vc64 b/win32/config.vc64 index 43d4041dfb..06025559fc 100644 --- a/win32/config.vc64 +++ b/win32/config.vc64 @@ -333,6 +333,7 @@ d_poll='undef' d_portable='define' d_printf_format_null='undef' d_procselfexe='undef' +d_pseudofork='undef' d_pthread_atfork='undef' d_pthread_attr_setscope='undef' d_pthread_yield='undef' diff --git a/win32/config_H.bc b/win32/config_H.bc index fab75f2a78..3a759074e4 100644 --- a/win32/config_H.bc +++ b/win32/config_H.bc @@ -3274,6 +3274,12 @@ */ /*#define HAS_VFORK /**/ +/* HAS_PSEUDOFORK: + * This symbol, if defined, indicates that an emulation of the + * fork routine is available. + */ +/*#define HAS_PSEUDOFORK /**/ + /* Signal_t: * This symbol's value is either "void" or "int", corresponding to the * appropriate return type of a signal handler. Thus, you can declare diff --git a/win32/config_H.gc b/win32/config_H.gc index e872524c26..0fdff1895e 100644 --- a/win32/config_H.gc +++ b/win32/config_H.gc @@ -3290,6 +3290,12 @@ */ /*#define HAS_VFORK /**/ +/* HAS_PSEUDOFORK: + * This symbol, if defined, indicates that an emulation of the + * fork routine is available. + */ +/*#define HAS_PSEUDOFORK /**/ + /* Signal_t: * This symbol's value is either "void" or "int", corresponding to the * appropriate return type of a signal handler. Thus, you can declare diff --git a/win32/config_H.vc b/win32/config_H.vc index 9a6872fa94..c85f0aa57d 100644 --- a/win32/config_H.vc +++ b/win32/config_H.vc @@ -3286,6 +3286,12 @@ */ /*#define HAS_VFORK /**/ +/* HAS_PSEUDOFORK: + * This symbol, if defined, indicates that an emulation of the + * fork routine is available. + */ +/*#define HAS_PSEUDOFORK /**/ + /* Signal_t: * This symbol's value is either "void" or "int", corresponding to the * appropriate return type of a signal handler. Thus, you can declare diff --git a/win32/config_H.vc64 b/win32/config_H.vc64 index 44c47ddcbd..b5d708c6cf 100644 --- a/win32/config_H.vc64 +++ b/win32/config_H.vc64 @@ -3274,6 +3274,12 @@ */ /*#define HAS_VFORK /**/ +/* HAS_PSEUDOFORK: + * This symbol, if defined, indicates that an emulation of the + * fork routine is available. + */ +/*#define HAS_PSEUDOFORK /**/ + /* Signal_t: * This symbol's value is either "void" or "int", corresponding to the * appropriate return type of a signal handler. Thus, you can declare 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_]+)=(.*)$/) { |