This is a follow up CL for e9abc404df
,
which breaks build when UNICODE macro is defined.
protoc has explicitly called MBCS version of APIs / funcsions
rather than UTF-16 (wchar_t) version of them regardless of
UNICODE macro definition (and it indeed works as expected).
Hence it makes sense to call GetModuleFileNameA explicitly.
pull/643/head
parent
1647e63c57
commit
8c27eea686
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue