--- hints/darwin.sh.orig
+++ hints/darwin.sh
@@ -345,17 +345,20 @@ EOM
     darwin_major=$(echo $osvers|awk -F. '{print $1}')
 
     # 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
-          10.[6-9]|10.10|10.11)
-          ccflags="$ccflags -Werror=partial-availability -D_DARWIN_FEATURE_CLOCK_GETTIME=0"
-          ;;
-        *)
-          ;;
-        esac
-    fi
+    # but it's still available on both macOS 10.12 and 10.13
+    # for compatibility with perl5.24 allow syscall() configuration on Sierra and later
+    # will auto-configure without syscall() if and when it's actually removed
+    # 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
+    #       10.[6-9]|10.10|10.11)
+    #       ccflags="$ccflags -Werror=partial-availability -D_DARWIN_FEATURE_CLOCK_GETTIME=0"
+    #       ;;
+    #     *)
+    #       ;;
+    #     esac
+    # fi
 
    lddlflags="${ldflags} -bundle -undefined dynamic_lookup"
    ;;
