Re: #if for current SDK...?
Re: #if for current SDK...?
- Subject: Re: #if for current SDK...?
- From: Chris Espinosa <email@hidden>
- Date: Thu, 1 Nov 2007 14:10:39 -0700
On Nov 1, 2007, at 1:33 PM, Eric Gorr wrote:
At the moment, I am building against the 10.4 SDK and thought it
would be a good idea to place things like:
#if <am I using the 10.5 SDK>
#error <a way the code can now be improved>
#endif
in the code so I can have the compiler keep track of various spots
in the code which can be improved when I start using the 10.5 SDK.
But, I am not sure what '<am I using the 10.5 SDK>' should be.
Now I've used the -dM function to see if I could find anything
obvious, but nothing is jumping out at me.
#if MAC_OS_X_VERSION_MAX_ALLOWED < 1050
#error Not building against 10.5 headers
#else
#error Now I can use 10.5 APIs
#endif
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