Anders F Björklund wrote:
Walter Bright wrote:

OSX is the new name for Apple's OSes: Mac OS X and iPhone OS.

And of course DMD can use anything, but GDC uses darwin/Unix.

Apple can't seem to make up their mind. uname does return "Darwin". gcc predefines "__MACH__" and "__APPLE__", but neither darwin nor osx. The documentation all says osx.

Will you set version(darwin) though, or would that be "version(osx)" ?

The existing D code for Mac OS X all uses version(darwin) from before.

version(OSX)

I just don't think darwin is a good idea, as Apple doesn't even use it. See http://developer.apple.com/unix/index.html, where "darwin" is clearly second string. It looks like Apple is pushing aside "darwin" in favor of "OSX".

Fortunately, (darwin) => (OSX) is a trivial global search/replace.

Reply via email to