summaryrefslogtreecommitdiffhomepage
path: root/loader
diff options
context:
space:
mode:
Diffstat (limited to 'loader')
-rw-r--r--loader/filesystem.cpp2
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)
{