commit | da77693b17ff1f17f03ac78f0298294cf7d1087f | [log] [tgz] |
---|---|---|
author | Yee Cheng Chin <ychin.git@gmail.com> | Tue Feb 28 15:51:23 2023 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Feb 28 15:51:23 2023 +0000 |
tree | 0c5cfd5a4f885a733e12ddc2120f37fb7181b1a1 | |
parent | 3f45d67a150f934ab819c3739cf189a0e2c9545c [diff] [blame] |
patch 9.0.1364: build error with older Mac OS Problem: Build error with older Mac OS. Solution: Adjust #ifdef. (Yee Cheng Chin, closes #12074)
diff --git a/src/os_mac.h b/src/os_mac.h index a7b1dba..2b5cbe4 100644 --- a/src/os_mac.h +++ b/src/os_mac.h
@@ -272,7 +272,8 @@ # include <dispatch/dispatch.h> -# ifndef MAC_OS_X_VERSION_10_12 +# if !defined(MAC_OS_X_VERSION_10_12) \ + || (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_12) typedef int clockid_t; # endif # ifndef CLOCK_REALTIME