[cfe-commits] r53145 - /cfe/trunk/lib/Lex/Preprocessor.cpp
Mike Stump
mrs at apple.com
Sat Jul 5 11:11:34 PDT 2008
On Jul 5, 2008, at 10:58 AM, Nuno Lopes wrote:
> +/* FIXME: this check should be moved to the configure process */
> +#ifdef linux
> + DefineBuiltinMacro(Buf, "linux=1");
> +#endif
Is there a way to wedge this into Target/TargetData.h in say, in
TargetData, as init_preprocessor() and then call that from here. That
way, cross compiling would get this defined and avoid defining it when
hosting a cross compiler on linux.
More information about the cfe-commits
mailing list