Re: How to conditionally compile by architecture?
Re: How to conditionally compile by architecture?
- Subject: Re: How to conditionally compile by architecture?
- From: Stephen Kay <email@hidden>
- Date: Thu, 18 Oct 2012 19:30:00 -0400
- Thread-topic: How to conditionally compile by architecture?
on 10/18/12 7:10 PM, Dan Korn at email@hidden wrote:
> #ifdef __ppc__
> // PowerPC
> #elif defined(__i386__) || defined(__x86_64__)
> // Intel
> #else
> // something else
> #endif
Thanks!
> But I agree with Andrew; you should have very few reasons to use these for
> Mac-specific code, since most of the APIs you would be calling in C/C++
> shouldn't vary much between PowerPC and Intel. You're mainly going to be
> concerned with endianness.
I agree with you; I just wanted to know what the symbols were in case I ever
needed them. Thanks again.
- Stephen
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Stephen Kay
Karma-Lab :: developers of KARMA
http://www.karma-lab.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