To be honest, I don't know how `__WIDL__` is used. Can it disappear from here entirely without functional changes?

Should the preprocessor condition instead be the following?

#if @MINGW_HAS_DDK@ && ! defined(__WIDL__)

It's used to control certain constructions that are only understood by WIDL but not by a C compiler (type annotation, for example), or those that are only understood by a C compiler but not by WIDL (inline functions and assembly, for example).

Here only a macro is defined and WIDL understands that. (But there might be 
other effects.)




--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to