summaryrefslogtreecommitdiff
path: root/t/op/fork.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/fork.t')
-rwxr-xr-xt/op/fork.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/op/fork.t b/t/op/fork.t
index b743a4589f..11efa79d17 100755
--- a/t/op/fork.t
+++ b/t/op/fork.t
@@ -6,7 +6,10 @@ BEGIN {
chdir 't' if -d 't';
unshift @INC, '../lib';
require Config; import Config;
- unless ($Config{'d_fork'} || ($^O eq 'MSWin32' && $Config{'useithreads'})) {
+ unless ($Config{'d_fork'}
+ or ($^O eq 'MSWin32' and $Config{useithreads}
+ and $Config{ccflags} =~ /-DPERL_IMPLICIT_SYS/))
+ {
print "1..0 # Skip: no fork\n";
exit 0;
}