pcpp icon indicating copy to clipboard operation
pcpp copied to clipboard

Implement __has_include() now we have a proper expression evaluator

Open ned14 opened this issue 5 years ago • 1 comments

ned14 avatar Oct 29 '20 11:10 ned14

A workaround, for the case that all __has_include(...) conditions should evaluate true or false is to define a function macro on the commandline. E.g. on bash, with quotes:

pcpp -D__has_include'(...)=1' test.h

willwray avatar Nov 23 '22 10:11 willwray