在 2022-04-01 21:35, Martin Storsjö 写道:
These could also possibly be made non-inline if we'd be providing
the comsupp library. However, that could break existing code that
calls _com_issue_error (implicitly via _com_ptr_t in comip.h)
and don't currently explicitly link in any comsupp library (which
doesn't exist currently either).

In the corresponding MSVC setups, the comsupp library is linked
in automatically via '#pragma comment(lib, "comsupp.lib")' in
the comdef.h header.

Signed-off-by: Martin Storsjö <[email protected]>
---
Renamed the variable to __mingw_com_error_handler.
---
  mingw-w64-headers/include/comdef.h | 16 ++++++++++++----
  1 file changed, 12 insertions(+), 4 deletions(-)



LGTM. Thanks for the update.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

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

Reply via email to