dmd sets version OSX when compiling under mac osx but it is not documented anywhere at http://www.digitalmars.com/d/2.0/version.html And some kind of a consistent naming convention for those version identifiers would be nice, some start capitalized and some with lower case ?
It's there.
(I guess this report was from before the standard version identifier cleanups were done.)