diff options
-rw-r--r-- | src/version.c | 2 | ||||
-rw-r--r-- | src/vim.h | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/version.c b/src/version.c index 7670cddde6..c2bef2ff57 100644 --- a/src/version.c +++ b/src/version.c @@ -700,6 +700,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1910, +/**/ 1909, /**/ 1908, @@ -102,6 +102,11 @@ # define ROOT_UID 0 #endif +/* Include MAC_OS_X_VERSION_* macros */ +#ifdef HAVE_AVAILABILITYMACROS_H +# include <AvailabilityMacros.h> +#endif + /* * MACOS_X compiling for Mac OS X * MACOS_X_DARWIN integrating the darwin feature into MACOS_X @@ -167,7 +172,9 @@ # if defined(FEAT_NORMAL) && !defined(FEAT_CLIPBOARD) # define FEAT_CLIPBOARD # endif -# if defined(FEAT_HUGE) && !defined(FEAT_SOUND) +# if defined(FEAT_HUGE) && !defined(FEAT_SOUND) && \ + defined(MAC_OS_X_VERSION_MIN_REQUIRED) && \ + MAC_OS_X_VERSION_MIN_REQUIRED >= 101100 # define FEAT_SOUND # endif # if defined(FEAT_SOUND) |