Fix build break.

svn path=/trunk/boinc/; revision=22368
This commit is contained in:
Rom Walton 2010-09-16 04:35:54 +00:00
parent d48e377e8a
commit 2aacdfaa60
1 changed files with 1 additions and 1 deletions

View File

@ -568,7 +568,7 @@ int boinc_copy(const char* orig, const char* newf) {
static int boinc_rename_aux(const char* old, const char* newf) {
#ifdef _WIN32
if (MoveFileEx(old, newf, MOVEFILE_REPLACE_EXISTING|MOVEFILE_WRITE_THROUGH)) return 0;
if (MoveFileExA(old, newf, MOVEFILE_REPLACE_EXISTING|MOVEFILE_WRITE_THROUGH)) return 0;
return GetLastError();
#else
int retval = rename(old, newf);