March 09, 2007 GDC on OS X | ||||
---|---|---|---|---|
| ||||
What version identifiers do you use if you need to check if you're on OS X? |
March 09, 2007 Re: GDC on OS X | ||||
---|---|---|---|---|
| ||||
Posted in reply to torhu | 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 |
Copyright © 1999-2021 by the D Language Foundation