Re: compiler constants?
Re: compiler constants?
- Subject: Re: compiler constants?
- From: Chris Espinosa <email@hidden>
- Date: Fri, 26 Nov 2004 22:57:38 -0800
On Nov 26, 2004, at 10:30 PM, Travis Heppe wrote:
Is there a constant and/or intrinsic you can use to identify the os
version currently targetted? In particular, I'd like to be able to
ifdef out my CGGL (quartz extreme) support if <10.3
#include <AvailabilityMacros.h>
#if MAC_OS_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_3
// CGL support code here
#else
// non-CGL support code here
#endif
See
http://developer.apple.com/releasenotes/DeveloperTools/
AvailabilityMacros.html
and the relevant Xcode help. You can set the min and max OS versions
in the project (not the target) Get Info pane.
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden