aboutsummaryrefslogtreecommitdiff
path: root/gnulib/import/rename.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/import/rename.c')
-rw-r--r--gnulib/import/rename.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnulib/import/rename.c b/gnulib/import/rename.c
index 09881e8..108dc40 100644
--- a/gnulib/import/rename.c
+++ b/gnulib/import/rename.c
@@ -39,6 +39,10 @@
# include "dirname.h"
+/* Don't assume that UNICODE is not defined. */
+# undef MoveFileEx
+# define MoveFileEx MoveFileExA
+
/* Rename the file SRC to DST. This replacement is necessary on
Windows, on which the system rename function will not replace
an existing DST. */