mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +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;
|
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());
|
SetLastError(ec.value());
|
||||||
MakeErrMsg(errMsg, std::string(filename) + ": Can't convert to UTF-16: ");
|
MakeErrMsg(errMsg, std::string(filename) + ": Can't convert to UTF-16: ");
|
||||||
return DynamicLibrary();
|
return DynamicLibrary();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user