mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Header changes so it will compile on VS
This commit is contained in:
parent
fda52f05f2
commit
31267a1ae8
10 changed files with 79 additions and 17 deletions
|
@ -33,17 +33,21 @@
|
|||
#elif defined(__APPLE__)
|
||||
# include <mach-o/dyld.h>
|
||||
#else
|
||||
# include <unistd.h>
|
||||
# include <dirent.h>
|
||||
# include <sys/types.h>
|
||||
# include <sys/stat.h>
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
|
||||
YOSYS_NAMESPACE_BEGIN
|
||||
|
||||
#ifdef _WIN32
|
||||
const char *yosys_version_str = "Windows";
|
||||
#endif
|
||||
|
||||
int autoidx = 1;
|
||||
RTLIL::Design *yosys_design = NULL;
|
||||
|
||||
|
@ -325,10 +329,10 @@ void yosys_shutdown()
|
|||
#ifdef YOSYS_ENABLE_PLUGINS
|
||||
for (auto &it : loaded_plugins)
|
||||
dlclose(it.second);
|
||||
#endif
|
||||
|
||||
loaded_plugins.clear();
|
||||
loaded_plugin_aliases.clear();
|
||||
#endif
|
||||
}
|
||||
|
||||
RTLIL::IdString new_id(std::string file, int line, std::string func)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue