mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-28 23:17:57 +00:00
io: smooth out non-POSIX function usage across platforms
This commit is contained in:
parent
0877798e18
commit
ceb7a923da
3 changed files with 14 additions and 3 deletions
|
@ -2,11 +2,17 @@
|
|||
#include "kernel/log.h"
|
||||
#include "kernel/gzip.h"
|
||||
#include <iostream>
|
||||
#include <dirent.h>
|
||||
#include <string>
|
||||
#include <cstdarg>
|
||||
#include <cstdio>
|
||||
|
||||
#if !defined(WIN32)
|
||||
#include <dirent.h>
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
||||
YOSYS_NAMESPACE_BEGIN
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue