mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-30 04:15:52 +00:00
io: smooth out non-POSIX function usage across platforms
This commit is contained in:
parent
d75b6bb3d7
commit
b3610c4ab3
3 changed files with 14 additions and 3 deletions
|
@ -1,9 +1,15 @@
|
|||
#include "kernel/yosys_common.h"
|
||||
#include "kernel/log.h"
|
||||
#include <iostream>
|
||||
#include <dirent.h>
|
||||
#include <string>
|
||||
|
||||
#if !defined(WIN32)
|
||||
#include <dirent.h>
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
||||
YOSYS_NAMESPACE_BEGIN
|
||||
|
||||
// Set of utilities for handling files
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue