diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-12 16:06:16 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-12 17:47:31 +0100 |
commit | 4cc653d8e5b3e9a46ca3453759d714b9664e487c (patch) | |
tree | abdeaeb65dfc84dcc2d3bb98faa45586f9fd72ae /loader | |
parent | 5a407de4f287b2b781a195c6062476ead284d67b (diff) |
fix infinite recursion
Diffstat (limited to 'loader')
-rw-r--r-- | loader/filesystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/filesystem.cpp b/loader/filesystem.cpp index 785ef414..4fbeb98a 100644 --- a/loader/filesystem.cpp +++ b/loader/filesystem.cpp @@ -24,7 +24,7 @@ bool chdir(StringView pathname) #ifdef _WIN32 ret = _wchdir(Unicode::widen(pathname)); #else - ret = chdir(pathname.data()); + ret = ::chdir(pathname.data()); #endif if (ret) { |