diff options
author | dmitrykos <dmitrykos@neutroncode.com> | 2019-01-31 23:17:06 +0200 |
---|---|---|
committer | Nathan Hjelm <hjelmn@me.com> | 2019-04-04 22:35:03 -0600 |
commit | 542e6fd03d115b74a9aa3ebea1d21d63e4a86aa1 (patch) | |
tree | 06b8c7a4c62ff46de553264ad552819886af3f49 /INSTALL_WIN.txt | |
parent | 5347d115d94eeaa67eddb4eb4c39402d2785f979 (diff) | |
download | libusb-542e6fd03d115b74a9aa3ebea1d21d63e4a86aa1.tar.gz |
windows: Improved log message output to MSVC
Improved log message output to MSVC handling by converting multi-byte
string (assumed to be UTF-8) to WCHAR string if UNICODE is defined, if
UNICODE is not defined then multi-byte string is sent to MSVC (Windows
CE defines UNICODE always, so it will use UNICODE case), added check
for 0 to avoid sending trash to MSVC (and possibly crash the process)
if conversion to WCHAR string fails.
Closes #504
Signed-off-by: Nathan Hjelm <hjelmn@me.com>
Diffstat (limited to 'INSTALL_WIN.txt')
0 files changed, 0 insertions, 0 deletions