Re: Determining SDK version during preprocessing
Re: Determining SDK version during preprocessing
- Subject: Re: Determining SDK version during preprocessing
- From: Matt Gough <email@hidden>
- Date: Sat, 21 Jan 2006 16:02:10 +0000
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:
This email sent to email@hidden