Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining SDK version during preprocessing




On 21 Jan 2006, at 11:49, Finlay Dobbie wrote:


Could you use MAC_OS_X_VERSION_MAX_ALLOWED?



Not really as that defaults to one of the base system release (10.2, 10.3, 10.4 etc). Suppose for example that Apple ship a newer version of the 10.4 SDK which fixes some header or adds some more functions that were inadvertently omitted (this does happen). MAC_OS_X_VERSION_MAX_ALLOWED would still default to MAC_OS_X_VERSION_10_4 and so I couldn't determine if the fixed header was already available compared to having to work around the problem. Remember that I have no control over what SDK is being used by the user of my source. Also, they may need to set MAC_OS_X_VERSION_MAX_ALLOWED to a specific value for some reason.

It just seems a shame that they no longer update UNIVERAL_INTERFACES_VERSION. That was what I used to hook into in the pre OS X days for this sort of thing.

Matt



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Determining SDK version during preprocessing (From: Matt Gough <email@hidden>)
 >Re: Determining SDK version during preprocessing (From: Finlay Dobbie <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.