summaryrefslogtreecommitdiff
path: root/t/pragma/warn/pp_sys
diff options
context:
space:
mode:
Diffstat (limited to 't/pragma/warn/pp_sys')
-rw-r--r--t/pragma/warn/pp_sys4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/pragma/warn/pp_sys b/t/pragma/warn/pp_sys
index 2843c70ed3..6ba616f067 100644
--- a/t/pragma/warn/pp_sys
+++ b/t/pragma/warn/pp_sys
@@ -203,7 +203,9 @@ syswrite() on closed filehandle STDIN at - line 6.
# pp_sys.c [pp_flock]
use Config;
BEGIN {
- if ( $^O eq 'VMS' and ! $Config{d_flock}) {
+ if ( !$Config{d_flock} &&
+ !$Config{d_fcntl_can_lock} &&
+ !$Config{d_lockf} ) {
print <<EOM ;
SKIPPED
# flock not present