From: Bram Moolenaar Date: Sat, 2 Nov 2013 20:49:32 +0000 (+0100) Subject: updated for version 7.4.056 X-Git-Tag: v7.4.056 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4cc95d1495706593d30ce2fae3fc592a2ffdaab8;p=vim updated for version 7.4.056 Problem: Mac: Compilation problem with OS X 10.9 Mavericks. Solution: Include AvailabilityMacros.h when available. (Kazunobu Kuriyama) --- diff --git a/src/os_unix.c b/src/os_unix.c index cc026534d..80459c94e 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -804,6 +804,12 @@ mch_stackcheck(p) * completely full. */ +#if defined(HAVE_AVAILABILITYMACROS_H) \ + && defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) \ + && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1090) +# include +#endif + #ifndef SIGSTKSZ # define SIGSTKSZ 8000 /* just a guess of how much stack is needed... */ #endif diff --git a/src/version.c b/src/version.c index 184aee76d..c68250893 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 56, /**/ 55, /**/