Commit 8c27eea6 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Fix build failure on Windows when Unicode build is enabled.

This is a follow up CL for e9abc404,
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.
parent 1647e63c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment