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.
Peter
On Tuesday, March 12, 2002, at 11:18 PM, Benjamin Reed wrote:
When I've got to add an OSX-specific patch to something, what should I
use as the cpp check to uniquely identify it. I've been using:
#if (defined(__APPLE__) && defined(__DYNAMIC__))
...which I got from another package, and it seems to work, but it
doesn't sound "right". Are there other defines provided by the
compiler
that would make more sense? (like a __DARWIN__ define or something?)
_______________________________________________
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.