# HG changeset patch # User Bram Moolenaar # Date 1383425372 -3600 # Node ID 8d83c219fc7b2ec8685ab9e0dd7d3067b7f9d1e9 # Parent 98ab541ce7e45c42ed808fce0181dbbcc6f21898 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 56, +/**/ 55, /**/ 54,