mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Fixed a compile error on Unix.
This commit is contained in:
parent
c95334756d
commit
eadeb88ece
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue