mirror of https://github.com/YosysHQ/yosys.git
Use /proc/self/exe on Cygwin as well.
This commit is contained in:
parent
9d15529214
commit
f7730d43bb
|
@ -622,7 +622,7 @@ struct TclPass : public Pass {
|
|||
} TclPass;
|
||||
#endif
|
||||
|
||||
#if defined(__linux__)
|
||||
#if defined(__linux__) || defined(__CYGWIN__)
|
||||
std::string proc_self_dirname()
|
||||
{
|
||||
char path[PATH_MAX];
|
||||
|
|
Loading…
Reference in New Issue