Peter O'Gorman [email@hidden] wrote:
> Define _DARWIN_ somewhere in the Makefile, or stick with _APPLE_...
>
> Look at the output of
> cc -v -E /dev/null
>
> to see what defines you have to play with.
Ahh, that helps, thanks.
Looking at them, perhaps it's better to do:
#if (defined(__APPLE__) && defined(__MACH__))
...it seems to be more likely to give me a "unique" classifier.
I was afraid that doing just __APPLE__ would match OS < X as well,
so I wanted to make sure I was specific enough. =)
--
Ben Reed a.k.a. Ranger Rick (email@hidden)
http://defiance.dyndns.org/ / http://radio.scenespot.org/
...if humanoids eat chicken, then obviously they'd eat their own
species. Otherwise they'd just be picking on the chickens. -- Kryten
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.