From 2aacdfaa606727ec9a08552ad142ce36861539f4 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Thu, 16 Sep 2010 04:35:54 +0000 Subject: [PATCH] Fix build break. svn path=/trunk/boinc/; revision=22368 --- lib/filesys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/filesys.cpp b/lib/filesys.cpp index 4ef17a60f6..75ef22b8d2 100644 --- a/lib/filesys.cpp +++ b/lib/filesys.cpp @@ -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);