On Oct 11, 2009, at 2:44 PM, Ben Haller wrote:

My only question: what's the best way to switch at compile time based on whether GC is enabled for the build? I.e. what do I #if or #ifdef? I could do it based on the arch or the SDK, but if there's a flag specifically for GC I'd rather use that...

<http://www.cocoabuilder.com/archive/message/xcode/2008/4/22/21089>

Only used this in one place (so far) in a screen saver I was working on, and could probably do without it even in that case if I was using a later version of the SDK (10.5 or 10.6, using 10.4 for the non x86_64 builds) for this project.

Good luck.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to