mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-05 11:17:53 +00:00
Fix build on windows.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210873 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -373,7 +373,7 @@ static std::error_code getOpenFileImpl(int FD, const char *Filename,
|
||||
size_t BytesLeft = MapSize;
|
||||
#ifndef HAVE_PREAD
|
||||
if (lseek(FD, Offset, SEEK_SET) == -1)
|
||||
return error_code(errno, std::generic_category());
|
||||
return std::error_code(errno, std::generic_category());
|
||||
#endif
|
||||
|
||||
while (BytesLeft) {
|
||||
|
Reference in New Issue
Block a user