diff options
Diffstat (limited to 't')
-rw-r--r-- | t/lib/st-lock.t | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/t/lib/st-lock.t b/t/lib/st-lock.t index c29d0b7cbc..694db16343 100644 --- a/t/lib/st-lock.t +++ b/t/lib/st-lock.t @@ -25,7 +25,9 @@ sub BEGIN { print "1..0 # Skip: Storable was not built\n"; exit 0; } - if (!$Config{'d_flock'} && !$Config{'d_fcntl'} && !$Config{'d_lockf'}) { + if (!$Config{'d_flock'} && + !$Config{'d_fcntl_can_lock'} && + !$Config{'d_lockf'}) { print "1..0 # Skip: no flock or flock emulation on this platform\n"; exit 0; } |