- fix Linux build
This commit is contained in:
parent
3d22220c7a
commit
e83f717076
|
|
@ -65,7 +65,7 @@ std::string FileHelper::getCurrentDir()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(TARGET_LINUX) || defined(TARGET_OSX)
|
#if defined(TARGET_LINUX) || defined(TARGET_OSX)
|
||||||
char buffer[512];
|
char buf[512];
|
||||||
if (getcwd(buf, sizeof buf) != nullptr)
|
if (getcwd(buf, sizeof buf) != nullptr)
|
||||||
return buf;
|
return buf;
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue