[cfe-commits] r53145 - /cfe/trunk/lib/Lex/Preprocessor.cpp

Nuno Lopes nunoplopes at sapo.pt
Sat Jul 5 12:33:04 PDT 2008


> On Sat, Jul 5, 2008 at 10:58 AM, Nuno Lopes <nunoplopes at sapo.pt> wrote:
>> +/* FIXME: this check should be moved to the configure process */
>> +#ifdef linux
>> +  DefineBuiltinMacro(Buf, "linux=1");
>> +#endif
> 
> We already have a proper infrastructure for things like this; see
> lib/Basic/Targets.cpp.  The only issue is that we don't distinguish
> between i386-darwin and i386-linux at the moment.

Ok, I've moved this definition to the TargetInfo structures.

Thanks,
Nuno



More information about the cfe-commits mailing list