Use /proc/self/exe on Cygwin as well.

This commit is contained in:
Yury Gribov 2016-08-07 21:34:33 +01:00 committed by Clifford Wolf
parent 9d15529214
commit f7730d43bb
1 changed files with 1 additions and 1 deletions

View File

@ -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];