Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

another question: OS identifier



Does anyone know, is there a standard OS X flag that I can check when writing portable source? That is, something like

#ifdef MACOSX
stuff;
#endif

I mean, is there something that's automagically built in; I know I could do a -DMACOSX on the compile line.

Thanks,

Markian
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.