__APPLE_CC__ defined on head of mainline
Andrew Pinski
pinskia@physics.uc.edu
Fri Dec 31 06:41:00 GMT 2004
On Dec 30, 2004, at 10:52 PM, Timothy J.Wood wrote:
>
>
> I'm building the mainline (not the Apple branch) on Darwin and when
> I use the compiler, __APPLE_CC__ is defined. I would have expected
> this to only be defined if using Apple's branch. Is this desired
> behavior, or did the __APPLE_CC__ define accidentally get put in FSF's
> sources?
No it did not accidentally get defined in the FSF's sources.
The comment from the place where gets defined:
/* Machine dependent cpp options. __APPLE_CC__ is defined as the
Apple include files expect it to be defined and won't work if it
isn't. */
Didn't I also close a bug about this before from you?
Thanks,
Andrew Pinski
More information about the Gcc
mailing list