Jimmy Zelinskie wrote: > As per the discussion at > https://github.com/mxcl/homebrew/pull/20831#discussion_r4917643 > > The required macro MAC_OS_X_VERSION_MAX_ALLOWED requires > AvailabilityMacros.h to be defined. This diff is all that's required > upstream, the rest is brew specific: > > diff --git a/src/os_unix.c b/src/os_unix.c > index bb4c10e..00d9728 100644 > --- a/src/os_unix.c > +++ b/src/os_unix.c > @@ -18,6 +18,10 @@ > * changed beyond recognition. > */ > > +#if defined(__APPLE__) > +#include <AvailabilityMacros.h> > +#endif > + > /* > * Some systems have a prototype for select() that has (int *) instead of > * (fd_set *), which is wrong. This define removes that prototype. We define
So, on what systems is AvailabilityMacros.h available? Isn't this a chicken-egg problem? -- Veni, Vidi, Video -- I came, I saw, I taped what I saw. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_mac" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_mac" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
