Osx 10.9 Name

Active7 years, 11 months ago
  1. Os X 10.9 Upgrade

Os X 10.9 Upgrade


In the vein of Which macro to wrap Mac OS X specific code in C/C++.

What macro to use to identify when compiling on OSX 10.9 specifically. As opposed to other versions of OSX like 10.8, Snow Lion, Lion, Leopard, Leotard, Puma (made that one up), or Harrison Ford.

  • __APPLE__ only gives a boolean, and isn't enough information about this.
  • __APPLE_CC__ gives a version number of sorts, but that seems to be about the compiler and no the general OS.

Download Mac OS X Mavericks 10.9.5 free latest version offline setup for MacBook. Mac OS X Mavericks 10.9.5 is a powerful operating system with a variety of enhancements and a variety of new features that delivers more stability and ultimate level of performance. Mac OS X Mavericks Free Download DMG 10.9 offline setup. It was released worldwide in 2013 and was embraced by millions of users across the world. Mavericks is a powerful operating system with a number of tools to fulfill your desires on customization. File: macosxmavericks.dmg. The Apple-centric blog, bearing the tagline “no bull, just the facts,” claims to have learned exclusively that “the name for Apple’s next generation operating system – Mac OS X 10.9. LEM Staff - 2013.10.22. Apple previewed OS X 10.9 Mavericks at the June 2013 Worldwide Developer Conference (WWDC), and it appears to be a big step forward for OS X – perhaps the biggest since Apple made the transition from the “classic” Mac OS 9 to OS X 10.0 way back in March 2001. OS X Mavericks had been expected to ship at the same.

4,1052 gold badges29 silver badges32 bronze badges

This works for other versions as well. For other macros relating to OSX versions, see AvailiabilityMacros.h.

Adrian ColladoAdrian Collado

The headers on Mac OS X are littered with macros such as:

You can also find definitions such as:

And you can find:

You can reasonably hope that __MAC_10_9 means Mac OS X 10.9 Mavericks:

None of this directly gives you the current version of Mac OS X, but there are macros are defined in terms of these. Read the comments in the headers for guidance.

Jonathan LefflerJonathan Leffler
683k128 gold badges841 silver badges1208 bronze badges

Not the answer you're looking for? Browse other questions tagged c++cmacosmacrosversion or ask your own question.