GDC on OS X

Anders F Björklund afb at algonet.se
Fri Mar 9 04:42:45 PST 2007


torhu wrote:

> What version identifiers do you use if you need to check if you're on OS X?

Depends on which aspects of Mac OS X you are looking for, but you can 
use "version (darwin)" to check for the Kernel and BSD subsystem etc.

This might or might not include upper levels like Carbon and Cocoa,
but usually means Mac OS X now that OpenDarwin is pretty much dead.

http://www.prowiki.org/wiki4d/wiki.cgi?DocComments/Version#ExtraPredefinedVersions

--anders


More information about the D.gnu mailing list