Re: #if on SDK_NAME
Re: #if on SDK_NAME
- Subject: Re: #if on SDK_NAME
- From: Chris Espinosa <email@hidden>
- Date: Tue, 14 Jul 2009 16:11:16 -0700
On Jul 14, 2009, at 3:45 PM, Eric Gorr wrote:
I spotted the environment variable SDK_NAME and saw that it was set
to macosx10.5
Environment variables are not compiler preprocessor macros.
Xcode build settings are not environment variables.
If you want to test a value with an #if in code, it has to be defined
in a header file (like AvailabilityMacros.h) or in your target's
Preprocessor Macros build setting.
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