在 2023-08-05 11:27, Biswapriyo Nath 写道:
 From d0e21fc66eb5d291e5afc15a08b55878d8efe5e9 Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath<[email protected]>
Date: Sat, 5 Aug 2023 08:42:33 +0530
Subject: [PATCH] headers: Add more macros for wide-char APIs in _dbg_common.h

This is required for rpcs3 project which defines DBGHELP_TRANSLATE_TCHAR.
Also this fixes the following compiler error.

error: cannot convert 'CHAR*' {aka 'char*'} to 'LPWSTR' {aka 'wchar_t*'}
error: 'SymGetLineFromAddrW' was not declared in this scope
Signed-off-by: Biswapriyo Nath<[email protected]>
---
  .../include/psdk_inc/_dbg_common.h            | 135 +++++++++++++-----
  1 file changed, 98 insertions(+), 37 deletions(-)

Thanks for the patch. Pushed now.

I have noticed that `SymSrvGetFileIndexes` is not defined expectedly in Windows SDK. Maybe it has not been discovered for quite a few years; it's not our fault anyway.


--
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