Why version() ?

Anders F Björklund afb at algonet.se
Wed Feb 11 22:59:26 PST 2009


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.

--anders



More information about the Digitalmars-d mailing list