summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>2000-11-03 10:32:14 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2000-11-04 00:20:02 +0000
commit9d9004a9b2b7cfeace32230c040f124d0607259a (patch)
tree0cf651529d27bf0a78abd5481bed14f31785ca39 /pp_sys.c
parenta318903f974eb7986b0c4d33f6d08004a0b9b551 (diff)
downloadperl-9d9004a9b2b7cfeace32230c040f124d0607259a.tar.gz
Add FCNTL_CAN_LOCK.
Subject: Re: [ID 20001030.011] Not OK: perl v5.7.0 +DEVEL7481 on VMS_AXP V7.1 (UNINSTALLED) Message-ID: <Pine.SOL.4.10.10011031528090.29-100000@maxwell.phys.lafayette.edu> Subject: Re: [ID 20001030.011] Not OK: perl v5.7.0 +DEVEL7481 on VMS_AXP V7.1 (UNINSTALLED) From: Andy Dougherty <doughera@lafayette.edu> In-Reply-To: <4.3.1.0.20001031222203.00b24b20@pop5.banet.net> Message-ID: <Pine.SOL.4.10.10011031532170.29-100000@maxwell.phys.lafayette.edu> p4raw-id: //depot/perl@7536
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 28ffcda5e1..239e3f79bb 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -150,7 +150,7 @@ extern int h_errno;
# include <fcntl.h>
# endif
-# if defined(HAS_FCNTL) && defined(F_SETLK) && defined (F_SETLKW)
+# if defined(HAS_FCNTL) && defined(FCNTL_CAN_LOCK)
# define FLOCK fcntl_emulate_flock
# define FCNTL_EMULATE_FLOCK
# else /* no flock() or fcntl(F_SETLK,...) */