mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-03 14:40:49 +00:00
Fix a Symbian compile issue.
This commit is contained in:
parent
86859dd8e9
commit
1ec19310cd
@ -354,7 +354,7 @@ bool Rename(const std::string &srcFilename, const std::string &destFilename)
|
||||
{
|
||||
INFO_LOG(COMMON, "Rename: %s --> %s",
|
||||
srcFilename.c_str(), destFilename.c_str());
|
||||
#ifdef UNICODE
|
||||
#if defined(_WIN32) && defined(UNICODE)
|
||||
std::wstring srcw = ConvertUTF8ToWString(srcFilename);
|
||||
std::wstring destw = ConvertUTF8ToWString(destFilename);
|
||||
if (_wrename(srcw.c_str(), destw.c_str()) == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user