mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-01 01:30:36 +00:00
really fix the windows build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209964 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e7b43ecdcd
commit
44c6354015
@ -210,7 +210,7 @@ static error_code GetFileNameFromHandle(HANDLE FileHandle,
|
||||
return windows_error(::GetLastError());
|
||||
else {
|
||||
Name = Filename;
|
||||
return windows_error::success;
|
||||
return error_code();
|
||||
}
|
||||
}
|
||||
|
||||
@ -249,7 +249,7 @@ static std::string FindProgram(const std::string &Program, error_code &ec) {
|
||||
break;
|
||||
} else {
|
||||
// We found the path! Return it.
|
||||
ec = windows_error::success;
|
||||
ec = error_code();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user