On Wed, 9 Nov 2011, Iain Sandoe wrote:

> I am probably missing something
> - but there doesn't seem to be a ready way to set the Init() value of a flag
> depending on the target

The way that is done is to use an expression inside Init() that uses a 
target macro (it needs to be a macro, not a hook, at present).  So change 
NEXT_OBJC_RUNTIME to be a macro defined to either 1 or 0, instead of 
defined or undefined, and use that in Init().

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to