Re: GetAliasSize
Re: GetAliasSize
- Subject: Re: GetAliasSize
- From: Steve Mills <email@hidden>
- Date: Mon, 16 Jan 2006 11:56:55 -0600
Hmm. What's the correct way to test the current architecture in a pch
file? I have:
#if arch == i386
#warning "max 10.4"
#define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_4
#else
#warning "max 10.3"
#define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_3
#endif
When I look at the build transcript for a file when building my Debug
config (which only has one architecture; ppc) it says "-arch ppc".
Yet the preprocessor is saying that "arch == i386" is true, because I
see "max 10.4" in the build transcript.
Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/
_______________________________________________
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