www.digitalmars.com         C & C++   DMDScript  

D.gnu - GDC on OS X

reply torhu <fake address.dude> writes:
What version identifiers do you use if you need to check if you're on OS X?
Mar 09 2007
parent =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
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
Mar 09 2007