mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-18 14:31:27 +00:00
Try to fix the windows build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210837 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f7ab98c252
commit
647ab7f728
@ -85,7 +85,7 @@ DynamicLibrary DynamicLibrary::getPermanentLibrary(const char *filename,
|
||||
}
|
||||
|
||||
SmallVector<wchar_t, MAX_PATH> filenameUnicode;
|
||||
if (error_code ec = windows::UTF8ToUTF16(filename, filenameUnicode)) {
|
||||
if (std::error_code ec = windows::UTF8ToUTF16(filename, filenameUnicode)) {
|
||||
SetLastError(ec.value());
|
||||
MakeErrMsg(errMsg, std::string(filename) + ": Can't convert to UTF-16: ");
|
||||
return DynamicLibrary();
|
||||
|
Loading…
x
Reference in New Issue
Block a user