On Fri, 10 Apr 2020, Biswapriyo Nath wrote:
On Tue, Apr 7, 2020 at 2:07 PM Martin Storsjö <[email protected]> wrote:
The ifdefs (that aren't within cpp_quote()) in the idl file aren't
brought along as such, but are evaluated when widl interprets the
file, which means the enclosed declarations are left out, and the
ifdefs don't make it into the final header.
Would it be an issue if the ` cpp_quote()` are added to the `#if
WINVER` conditions?
That doesn't work either. What works is adding version checks in the
cpp_quote bits themselves though. Any unquoted #if in the idl is evaluated
when widl runs and isn't brought into the generated header.
// Martin
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public