re: compiler defines, magic strings, etc.
re: compiler defines, magic strings, etc.
- Subject: re: compiler defines, magic strings, etc.
- From: George Warner <email@hidden>
- Date: Tue, 18 Nov 2003 08:55:23 -0800
On Mon, 17 Nov 2003 13:26:49 -0800, Rob McKeever <email@hidden> wrote:
> ...The latest one I've been looking for is a good way to be able to
> distinguish in Xcode which set of platform APIs are currently being
> compiled against. There seems to be some defines in various system
> frameworks, but I'm wondering if there is a more central set of values
> that can be checked to see if I'm compiling against 10.1 vs. 10.2 or
> 10.3 (or OS X vs. straight Darwin).
Take a look in <AvailabilityMacros.h> for the
AVAILABLE_MAC_OS_X_VERSION_10_x_AND_LATER macros.
--
Enjoy,
George Warner,
Schizophrenic Optimization Scientists
Apple Developer Technical Support (DTS)
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.