mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
Fixed win32 troubles with f.readsome()
This commit is contained in:
parent
a32e067e5c
commit
8263f6a74a
6 changed files with 21 additions and 4 deletions
|
@ -70,7 +70,7 @@ struct WriteFileFrontend : public Frontend {
|
|||
char buffer[64 * 1024];
|
||||
size_t bytes;
|
||||
|
||||
while (0 < (bytes = f->readsome(buffer, sizeof(buffer))))
|
||||
while (0 < (bytes = readsome(*f, buffer, sizeof(buffer))))
|
||||
fwrite(buffer, bytes, 1, of);
|
||||
|
||||
fclose(of);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue