mirror of https://github.com/YosysHQ/yosys.git
io: smooth out non-POSIX function usage across platforms
This commit is contained in:
parent
d75b6bb3d7
commit
c1028be190
|
@ -4,6 +4,12 @@
|
|||
#include <dirent.h>
|
||||
#include <string>
|
||||
|
||||
#if !defined(WIN32)
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
||||
YOSYS_NAMESPACE_BEGIN
|
||||
|
||||
// Set of utilities for handling files
|
||||
|
|
Loading…
Reference in New Issue