diff options
author | Yury Gribov <tetra2005@gmail.com> | 2016-08-07 21:34:33 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-08-08 12:00:27 +0200 |
commit | f7730d43bb4d5b44ec76e1080f4baf2f6b26807f (patch) | |
tree | bf32057661d15a2de9df613d800349b217318289 | |
parent | 9d15529214f164701ac4f53d0f3a5d4943b8f8dd (diff) | |
download | yosys-f7730d43bb4d5b44ec76e1080f4baf2f6b26807f.tar.gz yosys-f7730d43bb4d5b44ec76e1080f4baf2f6b26807f.tar.bz2 yosys-f7730d43bb4d5b44ec76e1080f4baf2f6b26807f.zip |
Use /proc/self/exe on Cygwin as well.
-rw-r--r-- | kernel/yosys.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/yosys.cc b/kernel/yosys.cc index 8da57fd4e..42ccf13f7 100644 --- a/kernel/yosys.cc +++ b/kernel/yosys.cc @@ -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]; |