C23 _has_embed is very similar. (in case someone wants to add it too) Complements C23 #embed
> On 20 Apr 2023, at 06:31, Ziyao via Tinycc-devel <tinycc-devel@nongnu.org> > wrote: > > On 2023-04-20 03:41, Bernhard Reutner-Fischer wrote: >> I don't think we have it yet, do we? >> Thoughts? Any takers? > > We do have it already. > > #if __has_include("/dev/null") && !__has_include("StRanGeNamE") > #define a > #endif > > int main() > { > a > return 0; > } > > could be compiled and run without an error. > > Grepping the commit log also proves that. > > -- > Ziyao > > _______________________________________________ > Tinycc-devel mailing list > Tinycc-devel@nongnu.org > https://lists.nongnu.org/mailman/listinfo/tinycc-devel _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel