On 2009-04-14 20:19:29 -0400, Walter Bright <[email protected]> said:

__APPLE__ or __MACH__ -> OSX

Apple has made many operating systems besides OSX, so __APPLE__ is out. I can't even remember which OS Mach is.

It's defined(___APPLE__) && defined(__MACH__) that is used (not "or"). Read it as "An Apple OS running the Mach kernel". Although to be presise, the kernel is XNU, which uses Mach at its core.
<http://en.wikipedia.org/wiki/XNU>

So... perhaps the version identifier should be "AppleMach". :-)

No, seriously, OSX is fine by me.

--
Michel Fortin
[email protected]
http://michelf.com/

Reply via email to