Skip to content

Commit

Permalink
Always pull in AvailabilityMacros.h
Browse files Browse the repository at this point in the history
This fixes a compilation problem on OS X 10.9.  Patch by
@felixbuenemann.
  • Loading branch information
b4winckler committed Oct 7, 2013
1 parent 655e0a8 commit df7b6fb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/os_mac.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
# define OPAQUE_TOOLBOX_STRUCTS 0
#endif

/* Include MAC_OS_X_VERSION_* macros (needed for OS X 10.9, should be supported
* as of OS X 10.2)
* */
#include <AvailabilityMacros.h>

/*
* Macintosh machine-dependent things.
*
Expand Down

3 comments on commit df7b6fb

@felixbuenemann
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@b4winckler Btw. there are a few more fixes required for Mavericks, see: felixbuenemann/homebrew@81824e3

I should really make a PR for MacVim now that the 10.9 GM is out.

@b4winckler
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@felixbuenemann Do you think you could open a pull request for the remaining things that needs fixing (only if_ruby.c and configure.in if I'm not mistaken?). That would be incredibly helpful. Thanks.

@felixbuenemann
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I'll prepare a PR as soon as I find some spare time (meaning some time this week ;-).

Please sign in to comment.