Use /proc/self/exe on Cygwin as well.
This commit is contained in:
parent
9d15529214
commit
f7730d43bb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue