-bugfix for vc++ compile

This commit is contained in:
Mark Vejvoda 2011-03-13 13:14:47 +00:00
parent d0a95b1ff5
commit b3951b3940
1 changed files with 0 additions and 5 deletions

View File

@ -1375,12 +1375,7 @@ bool removeFile(string file) {
}
bool renameFile(string oldFile, string newFile) {
#ifdef WIN32
int result = _rename(oldFile.c_str(),newFile.c_str());
#else
int result = rename(oldFile.c_str(),newFile.c_str());
#endif
return (result == 0);
}