Re: Architecture setting: i386 in Release
Re: Architecture setting: i386 in Release
- Subject: Re: Architecture setting: i386 in Release
- From: "Sean McBride" <email@hidden>
- Date: Wed, 20 Jun 2007 09:58:06 -0400
- Organization: Rogue Research
On 6/20/07 2:48 PM, Calum Robertson said:
>I'm working on a multi-platform project (original code was win32 and
>unix) and have created my first xcode project. I need to do add in
>some mac specific code and have been using the following construct:
>
>#ifdef i386
>...
>#endif
You should use #ifdef __APPLE__ for OS X-specific code. Also, its
__i386__, but that would only be 1 on Intel Macs, not ppc Macs.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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