Fixed a compile error on Unix.

This commit is contained in:
Leon Styhre 2020-12-29 12:58:55 +01:00
parent c95334756d
commit eadeb88ece

View file

@ -183,6 +183,7 @@ namespace Utils
return (_wgetcwd(tempWide, 512) ? return (_wgetcwd(tempWide, 512) ?
getGenericPath(Utils::String::wideStringToString(tempWide)) : ""); getGenericPath(Utils::String::wideStringToString(tempWide)) : "");
#else #else
char temp[512];
return (getcwd(temp, 512) ? getGenericPath(temp) : ""); return (getcwd(temp, 512) ? getGenericPath(temp) : "");
#endif #endif
} }