summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Hartley <BytesGuy@users.noreply.github.com>2020-07-22 13:15:53 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2020-12-26 15:21:39 +0000
commit0afeb6e8ebd7f875f7e1b54c9a4cab9655d0715a (patch)
tree91f6ccfc2083b223054e9c2c3486d5c5a0cbaa9d
parent5e8423fa94422852ee8a6f5ce575f019fba91062 (diff)
downloadperl-0afeb6e8ebd7f875f7e1b54c9a4cab9655d0715a.tar.gz
Update darwin.sh
(cherry picked from commit 810090184a3d18a5cfe46b173f88c79c5a4a3093)
-rw-r--r--hints/darwin.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh
index 40c84cf267..1709d224f7 100644
--- a/hints/darwin.sh
+++ b/hints/darwin.sh
@@ -344,8 +344,8 @@ EOM
darwin_major=$(echo $osvers|awk -F. '{print $1}')
- # macOS 10.12 (darwin 6.0.0) deprecated syscall().
- if [ "$darwin_major" -ge 6 ]; then
+ # macOS 10.12 (darwin 16.0.0) deprecated syscall().
+ if [ "$darwin_major" -ge 16 ]; then
d_syscall='undef'
# If deploying to pre-10.12, suppress Time::HiRes's detection of the system clock_gettime()
case "$MACOSX_DEPLOYMENT_TARGET" in