projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51b1824
)
Fixed ifdefs for plugin unloading
author
Clifford Wolf
<clifford@clifford.at>
Sat, 11 Oct 2014 08:57:46 +0000
(10:57 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Sat, 11 Oct 2014 08:57:46 +0000
(10:57 +0200)
kernel/yosys.cc
patch
|
blob
|
history
diff --git
a/kernel/yosys.cc
b/kernel/yosys.cc
index 08f75df7b56bf430b31e48c141d529e3982e4359..f2492555ea80f2fb1109976c0178fc58c5fb2132 100644
(file)
--- a/
kernel/yosys.cc
+++ b/
kernel/yosys.cc
@@
-24,7
+24,7
@@
# include <readline/history.h>
#endif
-#if
ndef _WIN32
+#if
def YOSYS_ENABLE_PLUGINS
# include <dlfcn.h>
#endif
@@
-197,7
+197,7
@@
void yosys_shutdown()
}
#endif
-#if
ndef _WIN32
+#if
def YOSYS_ENABLE_PLUGINS
for (auto &it : loaded_plugins)
dlclose(it.second);
#endif