__APPLE_CC__ defined on head of mainline

Devang Patel dpatel@apple.com
Fri Dec 31 19:57:00 GMT 2004


On Dec 31, 2004, at 12:32 AM, Timothy J.Wood wrote:

>   OK.  I was looking for something to distinguish at compile time 
> whether I'm using FSF GCC (requires <altivec.h>, uses (vector 
> xxx){a,b,c,d} for vector constants) or Apple GCC (doesn't; uses 
> (vector xxx)(a,b,c,d)).  I guess I'll keep looking.

Try __APPLE_ALTIVEC__

-
Devang



More information about the Gcc mailing list